Templating the UID field
The UID field is a unique identifier that can be used specifically to create SEO-friendly website URLs.
To get the UID value, you just need to access UID property on the retrieved document object as shown below.
Copy
@php
$uid = $document->uid;
@endphp