Contents Now Platform Capabilities Previous Topic Next Topic Links to records in email notifications Subscribe Log in to subscribe to topics and get notified when content changes. ... SAVE AS PDF Selected Topic Topic & Subtopics All Topics in Contents Share Links to records in email notifications Adding the ${URI} parameter to an outbound email body or template creates a link to a specific record. When a user clicks the word LINK, the instance prompts the user to log in if not already logged in, and then redirects the user to the record specified in the URI.Figure 1. Link displayed by ${URI} parameter The ${URI} parameter has an extension called the ${URI+} format to specify additional arguments in the email link, such as sysparm terms, in addition to the automatically created URI. For example (whitespace added for improved readability):${URI+&sysparm_scriptlet=current.assigned_to=gs.getUserID() &sysparm_scriptlet_condition=current.assigned_to.nil() &sysparm_view=incident_active} This example executes the JavaScript:current.asigned_to=gs.getUserID() when the condition ofcurrent.assigned_to.nil() is satisfied. Additionally, the script sets the view to incident_active. Enable links to recordsAdding the special ${URI} parameter to an outbound email body or template creates a link to a specific record.Change the link textTo show the display value of the record as the link text instead of the word LINK, use the ${URI_REF} parameter instead of the ${URI} parameter.Link to related recordsA notification can link to a related record by specifying a reference field in front of the ${URI} or ${URI_REF} parameters.Content page links in email notificationsLinks to CMS pages can be put in notifications to make it easy for the reader to access the pages. On this page Send Feedback Previous Topic Next Topic
Links to records in email notifications Adding the ${URI} parameter to an outbound email body or template creates a link to a specific record. When a user clicks the word LINK, the instance prompts the user to log in if not already logged in, and then redirects the user to the record specified in the URI.Figure 1. Link displayed by ${URI} parameter The ${URI} parameter has an extension called the ${URI+} format to specify additional arguments in the email link, such as sysparm terms, in addition to the automatically created URI. For example (whitespace added for improved readability):${URI+&sysparm_scriptlet=current.assigned_to=gs.getUserID() &sysparm_scriptlet_condition=current.assigned_to.nil() &sysparm_view=incident_active} This example executes the JavaScript:current.asigned_to=gs.getUserID() when the condition ofcurrent.assigned_to.nil() is satisfied. Additionally, the script sets the view to incident_active. Enable links to recordsAdding the special ${URI} parameter to an outbound email body or template creates a link to a specific record.Change the link textTo show the display value of the record as the link text instead of the word LINK, use the ${URI_REF} parameter instead of the ${URI} parameter.Link to related recordsA notification can link to a related record by specifying a reference field in front of the ${URI} or ${URI_REF} parameters.Content page links in email notificationsLinks to CMS pages can be put in notifications to make it easy for the reader to access the pages.
Links to records in email notifications Adding the ${URI} parameter to an outbound email body or template creates a link to a specific record. When a user clicks the word LINK, the instance prompts the user to log in if not already logged in, and then redirects the user to the record specified in the URI.Figure 1. Link displayed by ${URI} parameter The ${URI} parameter has an extension called the ${URI+} format to specify additional arguments in the email link, such as sysparm terms, in addition to the automatically created URI. For example (whitespace added for improved readability):${URI+&sysparm_scriptlet=current.assigned_to=gs.getUserID() &sysparm_scriptlet_condition=current.assigned_to.nil() &sysparm_view=incident_active} This example executes the JavaScript:current.asigned_to=gs.getUserID() when the condition ofcurrent.assigned_to.nil() is satisfied. Additionally, the script sets the view to incident_active. Enable links to recordsAdding the special ${URI} parameter to an outbound email body or template creates a link to a specific record.Change the link textTo show the display value of the record as the link text instead of the word LINK, use the ${URI_REF} parameter instead of the ${URI} parameter.Link to related recordsA notification can link to a related record by specifying a reference field in front of the ${URI} or ${URI_REF} parameters.Content page links in email notificationsLinks to CMS pages can be put in notifications to make it easy for the reader to access the pages.