Inserting Links Into Help Text

pwright137
Kilo Expert

Can someone provide the solution to having help text on a catalog variable to contain an external link?

Thanks for your help.

17 REPLIES 17

Hey Raymond,



We upgraded to FUJI Patch 11 and the issue reoccured in our instance. Any updates?


fuji 11 hotfix 1 should fix it so the property works correctly.. however it is recommended we do not do that.


Hi Matthew,



There is a system property glide.ui.escape_text which is set to true, which is causing you to see the html tag and not the actual text. You can see that by setting the property to false. But be aware that you are changing that setting globally.



Thanks,


Praveen.


punitchourey
Tera Contributor

Hi All,



i have also encountered similar issue in which the property   - glide.ui.escape_text was true and we do not want to change the value of that property because of other requirements. We can achieve this functionality in an alternate way.



Write a on Load client script as below:



function onLoad() {


    //Type appropriate comment here, and begin script below


$$("div.sc-help-text").each(function(item){


                                                              var textValue = item.innerText;


                                                              $(item).update(textValue);


                              });


}



After writing this script, your html code will work in hep text of a variable.


Hello All,

Could you please let me know, what changes you did in this script so it is working. 

As I have used the below script as it is but it not worked for me.. Kindly let me know what needs to change in the script as per my variables / configuration. 

 

on load client script which I have used : 

function onLoad() {
//Type appropriate comment here, and begin script below
$$("div.sc-help-text").each(function(item) {
var textValue = item.innerText;
$(item).update(textValue);
});
}

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png