I have an idea to create urls for entries that can't be guessed, but are automated without any extra effort from the content creator/editors. The intention is for the URL not require any authentication, but not be "guessable" just because you have another similar URL.
My thought was to use the Entry URL Format field to automate this. I tried the following but it didn't work as expected:
documents/{ (id * 1234567) | number_format(0, null, '-') }
I assumed I could use any twig syntax here due to the description/label for the input field:
What the entry URLs should look like. You can include tags that output entry properties, such as
{slug}
or{postDate|date("Y")}
.
So, is it possible to do what I'm trying? What's the correct twig syntax here?