Get Document Url Without current culture

Jaspal Marok asked on September 21, 2018 17:45

Is there a way to retrieve the current document url without the culture prefix using macros I have tried using the GetDocumentUrl() and GetDocumentUrlByID(DocumentID) which returns the document url with culture prefix.

Correct Answer

Brenden Kehren answered on September 21, 2018 18:02

Try using the macro:

{%CurrentDocument.NodeAliaspath|(identity)GlobalAdministrator%}

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.