Templating the UID field The UID field is a unique identifier that can be used specifically to create SEO-friendly website URLs. Usage Here's how you would get the UID value from the retrieved document object. <p> Page uid: <%= @document.uid =></p>