I created a new topic to address the content id issue at Cannot get page context in page preview and history views.