This file contains 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
USE [database_name] | |
GO | |
UPDATE [dbo].[aspnet_Membership] | |
SET [IsLockedOut] = 0 | |
WHERE UserId = 'B09BBCDE-9B3C-4DCD-B69E-67F615CE01E9' | |
GO |
This file contains 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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<pipelines> | |
<coveoInboundFilterPipeline> | |
<processor type="MySolution.Coveo.Custom.InboundFilters.IsPublishableInboundFilter, MySolution.Coveo.Custom" /> | |
</coveoInboundFilterPipeline> | |
</pipelines> | |
</sitecore> | |
</configuration> |
This file contains 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
New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) { | |
Get-Item -Path master: -Query "/sitecore/content/My Site/*[@@name != 'Item Name']" | Remove-Item -Recurse -Permanently | |
} |
This file contains 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
powershell -ExecutionPolicy Bypass -File .\script.ps1 |
This file contains 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.Caching; | |
using Sitecore.Caching.Generics; | |
using Sitecore.Configuration; | |
using Sitecore.Diagnostics; | |
using Sitecore.Sites; | |
using System; | |
using System.Collections; | |
namespace MyApp.Publishing | |
{ |
This file contains 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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<events> | |
<event name="publish:end:remote"> | |
<handler type="MyApp.Publishing.APICaller, MyApp.Publishing" method="CallAPIMethod" /> | |
</event> | |
</events> | |
</sitecore> | |
</configuration> |
OlderNewer