This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mongod --dbpath=D:\mongodb --logpath=D:\mongodb\log.txt --install | |
| REM Reference link: <http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ECHO 'Starting to delete Sitecore's Solr cores' | |
| REM solr start -p 8080 | |
| REM d:\solr\bin\solr delete -c sitecore_core_index | |
| CALL d:\solr\bin\solr delete -c sitecore_master_index | |
| CALL d:\solr\bin\solr delete -c sitecore_web_index | |
| CALL d:\solr\bin\solr delete -c sitecore_web_index_rebuild | |
| CALL d:\solr\bin\solr delete -c sitecore_marketing_asset_index_master | |
| CALL d:\solr\bin\solr delete -c sitecore_marketing_asset_index_web | |
| CALL d:\solr\bin\solr delete -c sitecore_marketing_asset_index_web_rebuild | |
| CALL d:\solr\bin\solr delete -c sitecore_marketingdefinitions_master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- zzz.Custom.Solr.Index.Patch.config --> | |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
| <sitecore> | |
| <contentSearch> | |
| <configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch"> | |
| <indexes hint="list:AddIndex"> | |
| <index id="sitecore_web_index"> | |
| <patch:attribute name="type" value="Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider" /> | |
| <param patch:after="*[@desc='core']" desc="rebuildcore">$(id)_rebuild</param> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" ?> | |
| <control xmlns:def="Definition" xmlns="http://schemas.sitecore.net/Visual-Studio-Intellisense"> | |
| <Sitecore.Shell.Applications.Dialogs.SelectRendering> | |
| <FormDialog ID="Dialog" Icon="Core/32x32/open_document.png" Header="Open Item" | |
| Text="Select the item that you wish to open. Then click the Open button." OKButton="Open"> | |
| <Stylesheet Src="SelectItemWithThumbnails.css" DeviceDependant="true" /> | |
| <CodeBeside Type="MyProject.Custom.Dialogs.SelectRenderingTabbed.SelectRenderingForm, MyProject.Custom"/> | |
| <DataContext ID="DataContext" Root="/"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Sitecore; | |
| using Sitecore.Diagnostics; | |
| using Sitecore.Resources; | |
| using Sitecore.Web.UI; | |
| using Telerik.Web.UI; | |
| using Sitecore.Data.Items; | |
| namespace RTEDropList | |
| { | |
| public class EditorConfiguration : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <system.net> | |
| <defaultProxy enabled = "true" useDefaultCredentials = "true"> | |
| <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" /> | |
| </defaultProxy> | |
| </system.net> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Find all items with the specified user or role assigned. | |
| .DESCRIPTION | |
| This report helps identify all of the items with a specific user or role assigned and transfers to another role. | |
| .NOTES | |
| Michael West | |
| #> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Updates the Workflow and Workflow state fields of content items with the given $workflowID and $workflowStateID values. | |
| .DESCRIPTION | |
| This script can be used when existing content is not assigned to a workflow and workflow state while it should be. | |
| This scenario usually occurs when a workflow is assigned to a template but there is already content created based on a previous version of that template (where the workflow was not yet assigned). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Find all of the items and fields which contain a specific text. | |
| .LINK | |
| https://vandsh.github.io/sitecore/2018/01/27/spe-search-replace.html | |
| #> | |
| $rootItem = Get-Item -Path "master:/sitecore/content/Home" | |
| $needle = "nurse" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [diff] | |
| tool = vsdiffmerge | |
| [difftool] | |
| prompt = true | |
| [merge] | |
| tool = vsdiffmerge | |
| [mergetool] | |
| prompt = true | |
| [difftool "vsdiffmerge"] | |
| cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //ignorespace //t |
OlderNewer