We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Convert HTML to string.

Kevin Smith2
Giga Expert

Hi,

How can we convert HTML to string ?

Is this possible ?

Thanks

Kevin

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee

Hi Kevin,

try using the solution posted by gjz, it should work:

https://community.servicenow.com/community?id=community_question&sys_id=64b0d219db76574054250b55ca96...

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

View solution in original post

6 REPLIES 6

It worked perfectly for me, thanks a lot¡¡¡

Heeru
Giga Contributor

Hi Ankur

I need a fix script for copying html to string using client script