Replace @context=unsafe for inline js | Community
Skip to main content
Sanjay_Bangar
Community Advisor
Community Advisor
March 10, 2022
Solved

Replace @context=unsafe for inline js

  • March 10, 2022
  • 1 reply
  • 1054 views

Hi ,

 I have requirement to call inline script into text area and I have added in sightly like ${properties.textarea @2941342='unsafe'} but as you know Unsafe disabled the XSS protection.

does any one know other way to do it.

 

Kr,

Sanjay

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anish-Sinha

Hi @sanjay_bangar ,

Please try @context='scriptComment'  instead of unsafe.There are other ways to do, but check if this resolves your purpose.

1 reply

Anish-Sinha
Adobe Employee
Anish-SinhaAdobe EmployeeAccepted solution
Adobe Employee
March 10, 2022

Hi @sanjay_bangar ,

Please try @context='scriptComment'  instead of unsafe.There are other ways to do, but check if this resolves your purpose.