Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs
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

0 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