Adding link in catalog client script - showFieldMsg

SNOW User8
Giga Guru

Hi All,

How o add links in a showFieldMsg especially in Catalog Client Script?

 

Please help me.

 

Thanks in advance,

SNOW

9 REPLIES 9

sachin_namjoshi
Kilo Patron
Kilo Patron

 

It is possible to add the link in the addinfomessage. Please find the sample script below.

 

 

 

function onLoad() {

 

    g_form.addInfoMessage("Please <a href = '/incident_list.do'>Click</a>");

 

   

 

}

 

Replace the above url with the one your looking to add.

 

Regards,

Sachin

Thanks for your time and reply...

Yes I have tried that before

I can add Link in addInfoMessage, But I wish to add in "showFieldMsg". 

How to do that.

Hi,

You will get your answer in below link:

Generate link in client script gs.showFieldMsg

It seems that hyperlink are not supported in field message. However you will get the workaround in above link.

Please mark my answer as Correct/Helpful in case that helped you somehow.

Regards,

Pranali Kadam

|www.DxSherpa.com|

Hi

Thanks for your time

I have already tried that, I think that is for normal client script and not for 'Catalog Client Script'.

Please suggest if any other.