How to republish/replicate a datastore item? | Community
Skip to main content
Level 3
March 7, 2023

How to republish/replicate a datastore item?

  • March 7, 2023
  • 3 replies
  • 670 views

Hi All,

I have been having trouble with datastore items not being refresh in the publish instance of aem. I can see the updated values within the author edit mode on a page where the data is displayed.. but the same page when published does not grab the updated data.

The datastore is sitting on the path /content/websitename/datastore and is not visible in the actual author view.. I can only view it through the admin console.

Is there a way I can force these items to republish? As I can't access them directly it's proving a little tough. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

RooRueAuthor
Level 3
March 7, 2023

Currently... I am just adding them one by one to the distributor using the paths.. but there are... quite a few to do :(. A less painful option would be awesome.

arunpatidar
Community Advisor
Community Advisor
March 7, 2023

Do you have access to tree replication ?

https://www.cqtutorial.com/courses/cq-admin/cq-admin-lessons/configure-cq-replication/cq-activate-tree 

 

You can try replicating node using tree replication if this works for you?

Arun Patidar
DPrakashRaj
Community Advisor
Community Advisor
March 9, 2023

it might be possible that you are not able to see  /content/websitename/datastore in aem author view as jcr:primaryType is not of cq:Page.

 

if you have to publish all the datastore node inside  /content/websitename you can publish the websitename folder and if only specific as per some filter criteria you can use replication tree if that fits for your requirement.

 

otherwise you can try with workflow package and select individual nodes there.

 

Hope that helps