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" ?> | |
| <!-- | |
| Purpose: When removing Social configs and Experience Editor configs, you still need these for Sitecore UI to work without errors. | |
| --> | |
| <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
| <sitecore> | |
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
| # SCRIPT CONFIG | |
| # Set disable features to "true" for faster startup times, "false" re-enables them. | |
| $disableFeatures= "true" | |
| # Set the webroot of your Sitecore Website. | |
| $sitecoreWebroot= "D:\inetpub\wwwroot\CoC\Website\" | |
| # folder to backup these configs |
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" ?> | |
| <!-- | |
| Purpose: When removing Social configs and Experience Editor configs, you still need these for Sitecore UI to work without errors. | |
| --> | |
| <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
| <sitecore> | |
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
| public class FieldFacet | |
| { | |
| public FieldFacet() | |
| { | |
| } | |
| public FieldFacet(string type, string name, string path, int count) | |
| { | |
| FacetType = type; | |
| FacetName = name; |
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
| innerKeywordPredicate = innerKeywordPredicate.Or(x => x.IndexedContent.Like(w, fuzzyTolerance).Boost(25)); | |
| innerKeywordPredicate = innerKeywordPredicate.Or(x => x.PageChildContent.Like(w, fuzzyTolerance).Boost(25)); |
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
| public class ResultItem | |
| { | |
| [IndexField("_name")] | |
| public string Name { get; set; } | |
| [IndexField("title_t")] | |
| public string Title { get; set; } | |
| } |
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 off | |
| for /f "tokens=1-4 delims=/ " %%i in ("%date%") do ( | |
| set dow=%%i | |
| set month=%%j | |
| set day=%%k | |
| set year=%%l | |
| ) | |
| set datestr=%month%_%day%_%year% | |
| echo datestr is %datestr% |
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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web.UI.HtmlControls; | |
| using Sitecore.Security.Accounts; | |
| using Control = Sitecore.Web.UI.HtmlControls.Control; | |
| namespace BlackTambourine.Core.SC.FieldType | |
| { | |
| public class SecurityRoleList : Control |
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
| #define parameters | |
| $prefix = "sc9test_" | |
| $PSScriptRoot = "C:\install\sitecore\9.0" | |
| $XConnectCollectionService = "$prefix.xconnect" | |
| $sitecoreSiteName = "$prefix.sc" | |
| $SolrUrl = "https://solr-dev.precedent.local:8983/solr" | |
| $SolrRoot = "C:\solr\solr-6.6.2" | |
| $SolrService = "solr6.6.2" | |
| $SqlServer = "localhost" | |
| $SqlAdminUser = "sitecoreDev" |
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
| :SETVAR DatabasePrefix sc9test_ | |
| :SETVAR UserName collectionuser | |
| :SETVAR Password Test12345 | |
| :SETVAR ShardMapManagerDatabaseNameSuffix _Xdb.Collection.ShardMapManager | |
| :SETVAR Shard0DatabaseNameSuffix _Xdb.Collection.Shard0 | |
| :SETVAR Shard1DatabaseNameSuffix _Xdb.Collection.Shard1 | |
| GO | |
| IF(SUSER_ID('$(UserName)') IS NULL) | |
| BEGIN |