I have an RTE in my dialog with a link plugin, that would update some values data-foo & data-bar and store them along as part of the anchor tag in a property on save. data-foo and data-bar are completely dependent upon the href value mentioned by user in the link dialog. To generate both the values, I have a logic built using a use-api script that has access to the ResourceResolver and Externalizer classes. Is it possible for us to send an ajax call or any other request to the server with the href value as argument from the dialog.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
You can make a call to sling servlet which will return the data attribute value
e.g. https://aemlab.blogspot.com/2019/07/aem-rte-custom-plugins-1.html
Hi,
You can make a call to sling servlet which will return the data attribute value
e.g. https://aemlab.blogspot.com/2019/07/aem-rte-custom-plugins-1.html
Views
Likes
Replies
Views
Like
Replies