hi all,
I have a component in 6.4 aem and i authored the value for that componet through dilog .now the component node has saved with dilogs fields inside conf template folder.now i need to access that component node and properties in my code or java code to map that node properties with some static data.how can i access that node to map that node properties woth spme data and where i need to do this in java code or somewhere else
please help me out
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You can use either JCR Node API.
Node (Content Repository for Java Technology API Version 2.0)
or
If you are trying to achieving context aware config, then you can access properties using caconfig object.
Apache Sling :: Apache Sling Context-Aware Configuration
Views
Replies
Total Likes
Hi,
You can use either JCR Node API.
Node (Content Repository for Java Technology API Version 2.0)
or
If you are trying to achieving context aware config, then you can access properties using caconfig object.
Apache Sling :: Apache Sling Context-Aware Configuration
Views
Replies
Total Likes
Hi Arun, can you suggest which is best for the above use case I have only one node and properties. Now how I can access this node .do I need to write java imp class or any article if there is
Views
Replies
Total Likes
Hi,
If this is a fixed node and property, you can access using Node API.
Views
Replies
Total Likes
Dear Arun, I am saving this node properties from dilog box and values getting updated in conf template folder where node get created.every time values getting changed but not property names.so do I need to create interface and implement class where I can use sling or node api .one another way also there using sling api..get resouse .plz suggest
Views
Replies
Total Likes
You can use the JCR API to reference a node and modify any of its props. Are you familiar with using the JCR API? Do you know how to get a session by using a System user and the Sling Mapping Service?
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies