---
original_url: "https://jace.pro/blog/difference-between-dollaruri-and-dollaruri_ref/"
format: markdown
ai_optimized: true
---

Difference between ${URI} and ${URI_REF}- # Difference between ${URI} and ${URI_REF}

September 6, 2018 [email ](/tags/email/)[servicenow](/tags/servicenow/)

  Enable AI AnimationAll this talk about notifications had me poking around and I learned about using `${URI_REF}` instead of `${URI}`. It’s magical.

`${URI_REF}` creates a link to the current record using the records display value. It’s essentially… the same as;

`var link = 'https://';
link += gs.getProperty('instance_name');
link += '.service-now.com/';
link += current.getLink();
var display = current.getDisplayValue()
template.print('<a href="' + url + '">' + display + '</a>');`
- `${URI}` creates a link to the current record using the text “Link”.

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2018/2018-09-06-whats-the-difference-between-uri-and-uri_ref.md).

[Difference between ${URI} and ${URI_REF}](https://jace.pro/blog/difference-between-dollaruri-and-dollaruri_ref/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/difference-between-dollaruri-and-dollaruri_ref/*
