Editing a content item that is referenced by a data source item, and then publishing it to Experience Edge, might not update the page that uses the data source item.
The issue occurs if a page item has a rendering that uses a data source item with a reference field, which, in turns, refers to another content item with a field. Editing that content item's field and publishing changes to Experience Edge does not update the page item.
As a solution, consider the following steps:
- Add the Content Dependency template
- /sitecore/templates/System/Layout/Rendering Dependencies/Content Dependency
to the default list of base templates:
- /sitecore/templates/Foundation/JavaScript Services/Json Rendering
- /sitecore/templates/Foundation/JavaScript Services/JavaScript Rendering
This will add the Content Dependencies field to JSON and JavaScript renderings:
- Enable one or more of the Content Dependencies options, based on your content structure. To learn more about these options, click here.