Hi,
has someone used context aware configuration editor?
could you please tell me how I can get that in my local AEM instance? I read that it is already available in AEM but it is not.
Any suggestions?
https://wcm.io/caconfig/editor/
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
It is not OOTB, it is from wcm.io
To install in AEM, please check the example POM changes https://github.com/arunpatidar02/aemaacs-aemlab/pull/6/files
Please check to install CA editor in AEM
https://aemlab.blogspot.com/2022/06/aemaacs-tools.html
Thanks Arun for the reply !
it doesn't tell me clearly how to get CAC editor in AEM?
please note : I don't want to install the separate packages as described in https://wcm.io/caconfig/editor/usage.html#Editor_GUI
as the external packages are always subjected to vulnerability scan.
I have already added the maven dependency but it does not enable the CAC editor to me.
<dependency> <groupId>io.wcm</groupId> <artifactId>io.wcm.caconfig.editor</artifactId> <version>1.12.0</version> </dependency>
Now the question is, does adobe give it OOTB or is that available as part of ACS commons.
Possible to help me understand on this? my goal is to get the CAC editor where author can author the configurations.
Hi,
It is not OOTB, it is from wcm.io
To install in AEM, please check the example POM changes https://github.com/arunpatidar02/aemaacs-aemlab/pull/6/files
Thanks @arunpatidar . Let me check it.
Hi Arun, I followed https://github.com/arunpatidar02/aemaacs-aemlab/pull/6/files and got the wcm.io editor but the OSGI configuration classes are not available in editor.
I had created SampleConfiguration.java with couple of properties but they are not available as configuration to add.
any suggestions.
please note : i have added the configurationclassscannerplugin in pom
Views
Replies
Total Likes
I appreciate your help @arunpatidar
I resolved my final problem and done with my POC.
we need scan the classes annotated with @configuration with below plugin and load it with required dependency. Below is the change in case someone is looking for:
<plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <!-- Generate bundle header containing all configuration annotation classes --> <_plugin>org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin</_plugin> </instructions> </configuration> <dependencies> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.caconfig.bnd-plugin</artifactId> <version>1.0.2</version> </dependency> </dependencies> </plugin>
Thank You !
Hi ravijais , I have tried to implement CAC editor with the steps with (https://github.com/arunpatidar02/aemaacs-aemlab/pull/6/files) even I an trying to implement same thing you have implemented, need 2 difference configurations. Can you please provide the config.Java classes how to implement it.
Thanks in advance!!
Views
Replies
Total Likes
@ravijais04 You can check this ref. too: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/context-...
Thanks Manu for the reply but it doesn't talk about the Context Aware Configuration Editor