Widget HTML Isuue

MattCoscos
Tera Contributor

Hi,

 

These are my components below. I did get the correct input.sys_id from the record producer and successfully pass it from client to server. Then i have construct the url in the server in which in the logs the value is correct however when i click the modify survey it does not redirect me in the correct url. I have put href = {{c.data.url}} but it is not working. Please let me know what did i miss.

 

Thanks Matt

 

 

HTML

MattCoscos_0-1741620968690.png

 

Server Script :

MattCoscos_1-1741620990257.png

 

Client controller

 

MattCoscos_2-1741621011980.png

 

Logs :

 

MattCoscos_3-1741621150945.png

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@MattCoscos 

use double quotes to render the URL

href="{{c.data.url}}"

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@MattCoscos 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader