Current Document Field

Ei Dar Li Ko Ko asked on December 6, 2022 11:09

Previously in the Kentico can use DocumentContext.CurrentDocument.GetValue("isOverview") to get the custom field inside the current document, but how to get the field in the Kentico 13 now? Want to display it from the widget.

Recent Answers


Arjan van Hugten answered on December 6, 2022 11:45

You can use the 'IPageDataContextRetriever' to retrieve the current page with the 'Retrieve' method.

0 votesVote for this answer Mark as a Correct answer

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