Hi,
I need to display one pageproperty value on page in RTE.On of my page I am using RTE to display the description (all the data are author by use static).On the same page I need to display one dynamic value(coming from page properties).I am trying to use pageProperties.get(phonenumber) or ${pageProperties.phonenumber}, but its not taking value inside RTE
Please suggest
Regards,
Solved! Go to Solution.
Views
Replies
Total Likes
When you are using this: ${pageProperties.phonenumber}
It will help you to get the data or value on the page. But when it comes to the value present in the dialog, you have to write some Custom JS
Logic in JS,
For current RTE, get the jcr:content node of page, read the value and put that value as the value of RTE field.
Let me know if my understanding is wrong on the question.
Thanks
Views
Replies
Total Likes
When you are using this: ${pageProperties.phonenumber}
It will help you to get the data or value on the page. But when it comes to the value present in the dialog, you have to write some Custom JS
Logic in JS,
For current RTE, get the jcr:content node of page, read the value and put that value as the value of RTE field.
Let me know if my understanding is wrong on the question.
Thanks
Views
Replies
Total Likes
Thanks, I am using use api js and its working now.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies