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 not deleted user 65

The event system allows one or more .NET classes to subscribe to and act upon Publishing, BluePrint or Data Modification events.

1 vote

Can we write event system to automate the publishing of sitemap.xml?

Event System is good option for this. On Page Save and close event you can do your processing of sitemap creation and publish the sitemap page. For Event System Help read Blog
AlokBhatt's user avatar
  • 1,250
1 vote

Component Metadata Inner Xml is not well formed

Here is how I did it. if (component.Metadata["distribution_start_date"] != null) { distributionStartDate = Convert.ToDateTime(component.Metadata["distribution_start_date"].InnerText); } if (comp …
AlokBhatt's user avatar
  • 1,250
6 votes
2 answers
277 views

Unable to debug OnPagePublishOrUnPublishPost event of Tridion Event System

I have subscribed to an event as below in the Tridion Event system and when I try to debug the code the break point is not getting hit. EventSystem.Subscribe<Page, PublishOrUnPublishEventArgs>(OnPage …
AlokBhatt's user avatar
  • 1,250
5 votes
2 answers
653 views

How to fail publishing of a page in Tridion Event System?

[TcmExtension("PageEventHandlerExtension")] public class PageEventHandler : TcmExtension { public PageEventHandler() { Subscribe(); } public void Subscribe() { Eve …
AlokBhatt's user avatar
  • 1,250
3 votes
4 answers
134 views

Component Metadata Inner Xml is not well formed

In the Metadata Design of a Component I have the following structure as displayed in the image below: Inside my Event System, I am fetching the component.Metadata.InnerXml, the XML returned shows a …
AlokBhatt's user avatar
  • 1,250