Hi Team,
We have a requirement for RTE to allow JSP personalization blocks in the email campaign when I tried to add the link it striping out and converted the tags into special characters. Please help me earliest.
AEM 6.5 version
when I add the link and submit the dialog: it is converting <%@, %>, "," as special characters, and then when I open the dialog it is not showing the link.
Thank you
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
It sounds like you are trying to add JSP personalization blocks to the RTE in AEM, but the RTE is stripping out the tags and converting them into special characters. This is likely happening because the RTE is designed to filter out certain types of HTML tags in order to prevent XSS (Cross-Site Scripting) attacks and other security vulnerabilities. You can try and see if below steps work for you:
To allow JSP personalization blocks in the RTE, you will need to modify the RTE's configuration to allow the necessary tags. Here are the steps you can follow to do this:
Navigate to the "Configuration" tab in the AEM Web Console and search for the "Rich Text Editor" configuration.
Select the "Rich Text Editor" configuration and click "Edit".
In the "Allowed HTML Tags" field, add the JSP personalization blocks that you want to allow in the RTE. For example, you might add the following tags:
<%@, %>, ","
Save the "Rich Text Editor" configuration.
Test the RTE to ensure that it is now allowing the JSP personalization blocks that you added.
By following these steps, you should be able to modify the RTE's configuration to allow JSP personalization blocks.
Thanks,
Monendra
Hi,
I don't think so it is going to work but you can check similar discussion at
Hi @arunpatidar, Thanks for the reply. Provided link is not helpful please provide any other thoughts.
It sounds like you are trying to add JSP personalization blocks to the RTE in AEM, but the RTE is stripping out the tags and converting them into special characters. This is likely happening because the RTE is designed to filter out certain types of HTML tags in order to prevent XSS (Cross-Site Scripting) attacks and other security vulnerabilities. You can try and see if below steps work for you:
To allow JSP personalization blocks in the RTE, you will need to modify the RTE's configuration to allow the necessary tags. Here are the steps you can follow to do this:
Navigate to the "Configuration" tab in the AEM Web Console and search for the "Rich Text Editor" configuration.
Select the "Rich Text Editor" configuration and click "Edit".
In the "Allowed HTML Tags" field, add the JSP personalization blocks that you want to allow in the RTE. For example, you might add the following tags:
<%@, %>, ","
Save the "Rich Text Editor" configuration.
Test the RTE to ensure that it is now allowing the JSP personalization blocks that you added.
By following these steps, you should be able to modify the RTE's configuration to allow JSP personalization blocks.
Thanks,
Monendra