ADH2COB
I'm new here

Reference Name auto population

Hello,

     Is there any way to populate the reference name automtically when we create a page from page template in FS 5.1.In previous Fs version 4.2 the template name used to be the reference name when we create a page.

0 Kudos
3 Replies
MichaelaReydt
Community Manager

Hello Ajay,

im not sure, if I understand your posting. You want the reference name's field to be filled, when creating a new page?

The reference name is created at the basis of the first entered display name. So if your page template just have a reference but not a display name, you have to enter a reference name manually.

template.png

Best regards

Michaela

0 Kudos
vijay1v
I'm new here

Hi Ajay

StoreElement#s getReferenceName() will get something like "pageref:page_name" where page_name is actually an uid. You can change it by

e.setLock(true, false);

e.setUid("new name");

e.setLock(false, false);

Regards

Vijay

0 Kudos
pavone
I'm new here

Hello Ajay,

do you need further help or did Michaela's or Vijay's reply already help you? If so, it would be great if you marked the reply as "correct answer" so that other community users find the solution easily. If you have already found a solution by yourself, it would be very kind of you, if you posted it here.

Best regards

Tim

0 Kudos