Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions related to the Sitecore Event system. This includes the Event Queue, event handling, custom events.
6
votes
Accepted
How to run custom logic when a user has been added to a particular role?
While it may seem a little confusing that you have a :remote event for adding users to roles, when roles are stored in the Core DB which is shared by both the CM and CD, the events are fired from the code …
15
votes
Accepted
How to get hostname on publish end event
The problem with Sitecore.Context.Site:
Sitecore performs publishing on the publisher site, and as you noted, the publish:end is an event and is called without a request, so there isn't even a URL to …
5
votes
Accepted
Execute custom logic whenever an item is added from a particular branch template
There are actually a few options here:
Command Templates
Event handlers (item:added)
Pipeline processors (uiAddFromTemplate, addFromTemplate)
Command Templates
This is by far the simplest solutio …
13
votes
Accepted
How can I write my own custom disabler?
SaveItemLogicDisabler.IsActive)
{
return;
}
// additional processor logic here...
}
Example 2: Event Handler Disabler
Let's say that I want to use the same disabler for my item:saved events …
9
votes
Accepted
"Silently" Create Item - Create Item Without Triggering Indexing or other Events
on create, not just indexing events. … What if you have item:created or item:added events? …