AnveshKumar M
Tera Sage

Hi @Claudio6 ,

Where you are trying to get this value? I just ran a background script, and it fetched the commented values too. I think you are loosing the actual HTML markup while displaying it. May I know the use case, so that I can try to get some solution.

 

 

var gr = new GlideRecord('sp_ng_template');
gr.addQuery('id', 'cxs-result-pinned');
gr.query();
if(gr.next()){
    gs.print(gr.getValue('template'));
}

 

 

Thanks,
Anvesh

View solution in original post