Adding link in catalog client script - showFieldMsg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 10:26 PM
Hi All,
How o add links in a showFieldMsg especially in Catalog Client Script?
Please help me.
Thanks in advance,
SNOW

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 10:30 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 10:33 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 10:54 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 11:27 PM
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.