Replace @context=unsafe for inline js | Community
Skip to main content
Sanjay_Bangar
New Participant
Mar 10, 2022 4:03 PM UTC
Solved

Replace @context=unsafe for inline js

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.
Anish-Sinha
Anish-SinhaAccepted solution
Employee
Mar 10, 2022 4:46 PM UTC

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
Anish-SinhaAccepted solution
Employee
Mar 10, 2022 4:46 PM UTC

Hi @sanjay_bangar ,

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

Translate