Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

how to configure/modify AEM system config by adding it in my code?

Avatar

Level 7

so I found an old commit from our ex-contractor

file: ui.apps/src/main/content/jcr_root/apps/berkeley/configs/config/com.day.cq.wcm.foundation.forms.impl.FormChooserServlet.config

contents:

forms.formchooserservlet.advancesearch.require=B"false"

service.name="CQ\ Form\ chooser\ servlet"

service.pid="com.day.cq.wcm.foundation.forms.impl.FormChooserServlet"

sling.servlet.methods=[ \

  "GET", \

  "POST", \

  ]

sling.servlet.resourceTypes="sling/servlet/default"

sling.servlet.selectors="form"

I want to do something to "com.adobe.granite.optout.impl.OptOutServiceImpl" (Adobe Grabite Opt-out Service that's available in /system/console/configMgr). The specific setting I want to modify (or add to) is "White-List Cookies" (multi-value field). I wan to add more values to it.

Any ideas how it can be done?

Thanks

1 Reply