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.
2
votes
1
answer
617
views
Updating Media Item Stream on Item:Saved Event
I had implemented a item:saved event handler that updates the MediaStream of a MediaItem. The code is roughly like this:
public void OnItemSaved(object sender, EventArgs args)
{
SitecoreE …
4
votes
1
answer
2k
views
Prevent Item Duplication in Sitecore
>
<configuration xmlns:patch="http:www.sitecore.net/xmlconfig/">
<sitecore>
<events>
<event name="item:creating">
<handler type="MyProject.Website.Events.PreventDuplicateItemName … <event name="item:renamed">
<handler type="MyProject.Website.Events.PreventDuplicateItemName, MyProject.Website" method="OnItemRenamed"/>
</event>
</events …