Bring Main Page Content to Headless Pages Dynamically in Kentico

Rasiuddin Khan asked on December 21, 2024 19:12

I have a Kentico page called AboutUs/Vision, which contains editable web parts that display the main page content, and this content is updated by editors. I want to create another page using the copy functionality with the same web parts, for sharing on another platform like Headless/Vision. My goal is to dynamically bring all content from the AboutUs/Vision page, so that whenever the content is updated on the AboutUs/Vision page, it is reflected on the Headless/Vision page as well. Essentially, I want to pass the page alias (e.g., /AboutUs/Vision) dynamically and retrieve the same content wherever it is available on the AboutUs/Vision page. How can I achieve this?

Recent Answers


Laura Frese answered on January 27, 2025 16:15

You can use Linked documents to accomplish this.

Alternatively, You will need to create a custom web part that pulls in data from the page. You can make the webpart editable so that you can set/configure the page path in the webpart to pull from any page you like. Then use that path to query the database for the web part content and output it onto the page.

0 votesVote for this answer Mark as a Correct answer

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