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.

Copy
<p> Page uid: <%= @document.uid =></p>

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Get in touch with us on our Community Forum.