Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Scaffolding - Create Page Names on Rollout?

Avatar

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile
a74048191r
Level 2

15-05-2020

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"/>

Replies

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

155 likes

Total Posts

370 posts

Correct Reply

57 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

15-05-2020

So you want to change the page name on rollout?

Avatar

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile
a74048191r
Level 2

18-05-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?