sathyapriyan
Returning Observer

Reset URL for a Specific Page Reference during Generation

Dear All, 

I use content projection to generate pages for html and FOP / PDF channels. Inside the the template, I have a specific text field for the SEO Url from which the URL is Generated. 

There is toggle introduced to say whether the content should be generated for a specific language or not. If it is off, the text field for SEO Url remains empty and page reference id is considered for URL creation by default. 

So when I update the content to other languages, I have to manually reset all URLs. 

Could you please suggest ways to Reset the stored URLs for a specific page automatically everytime during deployments. 
Is there anything can be included in the Pre Generate Settings or is it possible to use a script

or

Stop the creation of URLs if the toggle is off. 

Many Thanks, 
Sathya

0 Kudos
0 Replies