Scaffolding - Create Page Names on Rollout? | Community
Skip to main content
Level 2
May 15, 2020

Scaffolding - Create Page Names on Rollout?

  • May 15, 2020
  • 1 reply
  • 7798 views

I have a product catalog where on rollout, the authored jcr:title (below) is getting used to create both the page name (e.g. pagename.html) and title of the new page.    I'm trying to create a different field to author a page name separate from the title but haven't been able to figure out what to use in the xml.  Is this possible in a rollout process? 

I'm finding that on rollout, special chars in the jcr:title value are getting converted to underscores in the page name - probably since page names are normally limited to letters, numbers, dashes, commas, or underscores when creating a page.

We're on 6.5.2.  Thanks.

<title
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Title"
name="./jcr:title"
fieldDescription="Title of product"
renderReadOnly="{Boolean}true"
required="{Boolean}true"/>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ankur_Khare
Community Advisor
Community Advisor
May 16, 2020

So you want to change the page name on rollout?

Level 2
May 18, 2020
I'd like to add an author field that accepts a value for the pagename, but I can't figure out what name to use in the scaffold. It's for an Arabic site, so the chars in the title are getting converted to underscores on rollout (e.g. _____.html). I guess the other question would be if it is possible to save Arabic chars in the pagename?