Try our conversational search powered by Generative AI!

Programatically updating selected version of page in EditMode


I am using the EPiServer.Global.EPDataFactory.PublishedPage PageEventHandler to perform actions of some properties of a page that an edit mode user has published, and  republishing that page if I need to make any changes to the values of those properties. This works fine but if the edit mode user clicks the edit tab again he is shown the version of the page he published rather then the new version that was published in the EventHandler.

Is there any way I can make the selected version in edit mode be the most  recetly published version, via code in the EventHandler?

Thanks in advance for any assistance/ideas.

Oct 14, 2009 12:00
I forgot to say that it's version 4.61.
Oct 14, 2009 12:11
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.