GetPageUrlPath

lawrence whittemore asked on March 31, 2023 21:14

is this a new method from a recent hotfix or has it always been there?

Recent Answers


Liam Goldfinch answered on April 3, 2023 09:51

I don't know for sure, but I assume this was introduced in the original release of Kentico Xperience 13 as a method supporting the content tree-based URL routing.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on April 4, 2023 16:22

I've always used the DocumentURLProvider.GetUrl, but with that (and probably with this) make sure you call .WithPageUrlPaths() on your document query so it joins and doesn't trigger a hidden extra query to get that data.

0 votesVote for this answer Mark as a Correct answer

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