I'm trying to use global variables in Entry URLs generated by Craft, but they seem to be empty. Not getting any errors as such, just null.
My Entry URL format looks like this:
{{siteDefaults.artworksList.first.uri|default}}/{slug}
Where artworkList is an entry with a URI/URL but I'm getting "/some-entry-slug"
Similarly, {{siteDefaults.artworksList.length}}
returns 0 even though there is an entry there.
Has anyone tried to use globals before in entry URLs?
Thanks!