The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Survey link in Advance layout

avinashdubey103
Tera Guru

hI , i have a requirement to add survery in a layout :

I have written the following code :

var surveyUrl = '';
        surveyUrl = gs.getProperty('glide.servlet.uri') + 'home/feedback_survey.do?sysparm_feedback=' + '${u_assessment_instance.sys_id}';
<p></p>
<p></p>
<p></p>
<p></p>
<table border="0" style="border: none; width: 100%; height: 100%;">
<tbody>
<tr style="height: 67.2%;">
<td style="width: 9.7%; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 4.5pt solid white; background: white; padding: 0in;"></td>
<td style="width: 90.3%; height: 56.7%; text-align: center;"><img title="AmdocsHeader.jpg" src="AmdocsHeader.jpg" alt="" width="100%" height="100%" data-library="false" /></td>
</tr>
<tr style="height: 0%;">
<td style="width: 9.7%; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 4.5pt solid white; background: white; padding: 0in;"></td>
<td style="width: 90.3%;"><span style="font-size: 12pt;">${notification:body}</span></td>
</tr>
<tr style="height: 67.2%;">
<td style="width: 9.7%; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 4.5pt solid white; background: white; padding: 0in;"></td>
<td style="width: 90.3%; height: 29.2%; text-align: center;"><a href='" + surveyUrl + "'> <img title="AmdocsFooter.jpg" src="AmdocsFooter.jpg" alt="" width="100%" height="100%" data-library="false" /></a></td>
</tr>
</tbody>
</table>


The code is not adding the link 

2 REPLIES 2

Harish KM
Kilo Patron
Kilo Patron

Hi @avinashdubey103 where have you written this code? email script or directly into Notification?

Did you verify the URL? does the assessment id print ?

Regards
Harish

Hi , I have written this code in layout