Not necessarily – you can use a key value, but that value MUST appear in the first column of the view, and that column MUST be sorted. Please see the Domino URLs section of Designer Help for more details. Unlike the UNID method, the document must actually appear in the view in order to retrieve the document (so using empty views for form formulas is out of the question).
that syntax should be fine assuming the first column of the view ‘my’ is sorted, and the document with the id ‘erak-69e5xa’ appears in that view. if not, the function will fail. try opening that URL directly (i.e. type it in). if it still fails, your problem is with either the view sorting, or the selection formula, or the document id used in the first column.
I have tested on the Browser and my code is OK. I only have a problem to open the document from the client site.I get the error ‘The document specified by the link can not be located with the linked-to database’.
Two things to check: the column sorting in the ACTUAL database (not the template or a different replica) and access to the document/view from the problem location. Can you open the same document by UNID from the client site?