Missing properties upon creation package | Community
Skip to main content
Level 3
Oct 5, 2023 3:22 AM UTC
Solved

Missing properties upon creation package

Hi Everyone, 
I've tried creating a package of a page using the CRXDE, but I found out that some properties are not being added on it's jcr:content. Which configuration affects this behavior or is there an msm action that involved in these (as I see the same property on cq.wcm.msm.action.excludedprops of the ContentUpdateActionFactory.cfg.json)?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
LyonMartinAccepted solution
Level 3
Oct 6, 2023 6:57 AM UTC

Hi, we're able to identify that there is an event for Page Creation in which it removes the "guid" of the page if it contains one. This said event should only be triggered when a page event is triggered (And we thought that it shouldn't be triggered because our action is just package installation, but proves us wrong on the assumption after debugging the code).

7 replies

LyonMartinAuthorAccepted solution
Level 3
Oct 6, 2023 6:57 AM UTC

Hi, we're able to identify that there is an event for Page Creation in which it removes the "guid" of the page if it contains one. This said event should only be triggered when a page event is triggered (And we thought that it shouldn't be triggered because our action is just package installation, but proves us wrong on the assumption after debugging the code).

Translate
aanchal-sikka
New Participant
Oct 5, 2023 8:57 AM UTC

Hello @lyonmartin 

 

Which properties are you referring to? Requesting you to please list few of them

Translate
Aanchal Sikka
Level 3
Oct 5, 2023 9:04 AM UTC

We have a custom property for page guid.

Translate
aanchal-sikka
New Participant
Oct 5, 2023 9:08 AM UTC

@lyonmartin 

 

Is it something like "guid" or with custom namespace like "martin:guid" ?

Translate
Aanchal Sikka
A_H_M_Imrul
New Participant
Oct 5, 2023 8:30 AM UTC

@lyonmartin 

you are right. But the purpose of  cq.wcm.msm.action.excludedprops is different.

https://blogs.perficient.com/2016/11/30/updating-page-titles-with-aem-livecopy/

Translate