Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Change URL segment when publishing page

Vote:
 

Hi, 

We need the URLSeggment unique for each page so we need to change the URLSegment if it's duplicated. I can use Ivalidate to show a message to the editor, but I want it change automatically when editor publishing the page, is there any recommended way to do it?

Thank you very much!

Hai

#70326
Apr 17, 2013 12:07
Vote:
 
#70363
Apr 17, 2013 21:44
Vote:
 

I think you need to hook up with the content publishing event, but I am not too sure whether how to show the error message in the editor.

#70367
Apr 18, 2013 6:31
Vote:
 

Thank you very much Per,

It did the trick!

#70368
Apr 18, 2013 8:11
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.