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 9:55 AM UTC
Solved

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

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.
nchandra
nchandraAccepted solution
Level 2
May 29, 2018 1:33 PM UTC

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

arunpatidar
New Participant
May 29, 2018 2:33 PM UTC

Hi,

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

Check Unpublished Content backup

If helps

Thanks

Arun

Translate
Arun Patidar
smacdonald2008
Level 10
May 29, 2018 1:36 PM UTC

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

Translate
nchandra
nchandraAccepted solution
Level 2
May 29, 2018 1:33 PM UTC

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

Translate