Creating the component xml - Run modes | Community
Skip to main content
Naveen_AEM_dev
Level 4
October 16, 2015
Solved

Creating the component xml - Run modes

  • October 16, 2015
  • 1 reply
  • 840 views

I've created an OSGI component to be used in my application. I also want to control the values in the component using run modes.

I would like to know how to create the xml representation of the OSGI component that is placed in the JCR inside specific run mode folders.

As soon as the component is activated there is a file created under /apps/system/config but this is not an xml representation.

Where can I get the xml version of the component or is there any way to create the xml representation of the component?

Appreciate all leads.

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

I'm not sure I follow the question, the link below describes how to enable components for specific runmodes .e.g publish

http://www.computepatterns.com/43/osgi-component-in-aem-that-is-active-only-in-specific-run-mode-say-publish/

1 reply

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

I'm not sure I follow the question, the link below describes how to enable components for specific runmodes .e.g publish

http://www.computepatterns.com/43/osgi-component-in-aem-that-is-active-only-in-specific-run-mode-say-publish/