Widgets are associated with the
DocumentID of the 'current page'.
Looking at the docs for setting up the PageBuilder functionality we can see that in order for the widgets and sections to correctly be associated with a specific Document in the tree, we need to:
- Retrieve that document from the database
- Pass the
- Ensure the
HtmlHelper calls have been made on the page in the correct locations.
My guess is you are specifying the same
DocumentID for both documents in the tree.
Something about the URL (on the MVC side) needs to uniquely identify one page from another so that you can query the correct page from the database.