내 커뮤니티 업적 표시줄을 확대합니다.

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

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Creating the component xml - Run modes

Avatar

Level 4

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.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

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...

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Employee

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...