Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

some assistance in storing/maintaining a value in AEM and replicate it to the publishers

Avatar

Level 9

TLDR: I need to store a value in AEM author. I need to be able to change the value and then published that value as well. I am thinking of saving the value somewhere in /conf/my-apps (example: /conf/my-apps/my-node)?

Thanks!

some info: (these are just some initial thoughts. feel free to make suggestions)

  • The value of the field will be changed using an author-only page (need to use view-as-published)
  • After submitting the form, a servlet will then...
    1. create /conf/my-apps/my-node in author if the node does not exist
    2. servlet will then create a new property in the node (example: my-value) if the property does not exist
    3. servlet will then save the form field value into the property
    4. lastly, the 
    servlet will replicate (com.day.cq.replicator?) this node (example: /conf/my-apps/my-node)
  • My AEM is using AEMaaCS.
2 Replies

Avatar

Level 9

I was looking at ACS commons and came across generic list with I believe should be able to do the job.

Avatar

Community Advisor

@jayv25585659 your technical approach looks good to me. But functionally i have a question, if the field is modified via page authoring process, why cant that value be stored under the same page itself why under /conf?

Also as per your latest post, Generic list is very good feature to store generic key value pairs and use it to read in our application code to run logical evaluations.