Missing properties upon creation package | Community
Skip to main content
New Participant
October 5, 2023
Solved

Missing properties upon creation package

  • October 5, 2023
  • 3 replies
  • 1473 views

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.
Best answer by LyonMartin

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).

3 replies

LyonMartinAuthorAccepted solution
New Participant
October 6, 2023

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).

aanchal-sikka
New Participant
October 5, 2023

Hello @lyonmartin 

 

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

Aanchal Sikka
New Participant
October 5, 2023

We have a custom property for page guid.

aanchal-sikka
New Participant
October 5, 2023

@lyonmartin 

 

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

Aanchal Sikka
A_H_M_Imrul
New Participant
October 5, 2023

@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/