Skip to main content
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
Results tagged with
Search options answers only not deleted user 342

For questions related to the Sitecore Event system. This includes the Event Queue, event handling, custom events.

3 votes
Accepted

Write a file with item field data when item is saved

return; // Get the fields you care about and write out the file here } } Create a config patch file <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <events … > <event name="item:saved"> <handler type="Custom.Events.WriteFileItemSavedEventHandler, Custom" method="OnItemSaved"/> </event> </events> </sitecore> </configuration> …
Dan Sinclair's user avatar
  • 5,465
3 votes
Accepted

Sync a single bucketed item to change its path

parent = tempParent; } } } } And don't forget your patch config, of course: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <events … <event name="item:saved"> <handler type="Custom.Events.ItemSaved.ReorganizeBucketedItemInBucket, Custom.Events" method="OnItemSaved"></handler> </event> </events
Dan Sinclair's user avatar
  • 5,465
3 votes
Accepted

How to add renderings programmatically when another rendering is added

It's not a pipeline, but you could use the item:saved event's event args' ItemChanges property for this. Basically, you would: Check to see if the item saved was of the template you are looking for …
Dan Sinclair's user avatar
  • 5,465