Expand my Community achievements bar.

SOLVED

Is there a way to create package with a specific property on a node?

Avatar

Level 9

Hi All,

We have a requirement, where i need to take a package with one property on that node. Ex: if jcr:content has property one of property like 'cq:cloudserviceconfigs'.

How to set a rule to take the package like this?

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 2

I believe there is no way to only update the node property.

We are handling these changes differently as stated below

-  Build a new package with that node (/crx/packmgr/index.jsp) from higher environment (staging environment).

-  Click edit (on new package) and go to Advanced and set AC Handling to Overwrite.

-  Build the package

-  install that in lower environment

-  Add the property on that node

-  Rebuild the package again

-  install that package on other environments.

Hope this helps.

Thanks,

Chandra

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

I believe there is no way to only update the node property.

We are handling these changes differently as stated below

-  Build a new package with that node (/crx/packmgr/index.jsp) from higher environment (staging environment).

-  Click edit (on new package) and go to Advanced and set AC Handling to Overwrite.

-  Build the package

-  install that in lower environment

-  Add the property on that node

-  Rebuild the package again

-  install that package on other environments.

Hope this helps.

Thanks,

Chandra

Avatar

Level 10

YOu cannot do that - Package Manager packages nodes, not node props.

Avatar

Community Advisor

Hi,

You can use the following example in AEM fiddle tools and create a dynamic package.

Check Unpublished Content backup

If helps

Thanks

Arun



Arun Patidar