Is there a way to create package with a specific property on a node? | Community
Skip to main content
GK-007
Level 9
May 29, 2018
Solved

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

  • May 29, 2018
  • 3 replies
  • 2839 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by nchandra

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

3 replies

nchandra
nchandraAccepted solution
Level 2
May 29, 2018

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

smacdonald2008
Level 10
May 29, 2018

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

arunpatidar
Community Advisor
Community Advisor
May 29, 2018

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