Search the FirstSpirit Knowledge Base
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.
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.
Best regards
Michaela
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
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