After some research, I found it:
wcms
is an alias for another view.- That view has
@Text(@DocumentUniqueID)
as its first sorted column. - And, to select the proper form, it has a
Form Formula
set.
So this is how it all happens:
- The view
wcms
is resolved. Since the URL continues after the view name, the rest of the URL is the key into that view. - The first document of the view that matches the key is selected. Obviously, for the
DocumentUniqueID
there can be only one document. - Since the view has the
Form Formula
set, it is evaluated and maps to the formwcms_createdoc
. - This form is rendered.
References: