Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Package Manager

Avatar

Level 1

Hello,

is it possible to validate the content of a package before installation in AEM.

My goal is: 

- In http://localhost:4502/crx/packmgr/index.jsp 

- After clicking the install button

- Package content validation should be carred out before the content is installed

- If the content is not valid, the installation will be rejected.

 

Any help?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 9

You can check the contents of the package, by clicking package -> more ->contents on the package in the package manager.

This will list all the contents of the package in the bottom window(Activity Log)

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

You can check the contents of the package, by clicking package -> more ->contents on the package in the package manager.

This will list all the contents of the package in the bottom window(Activity Log)

Avatar

Level 1

Hello Mshajiahmed,

thank you for the quick fedback.

This looks good but it can be very chalanging for the author to go control a large content in the Activity Log if the content structur is valid.

Is there a way to creat an observationlistener to listen to package upload.

After listener it can reject it or let the package be installed be AEM.

Example AEM provides a way of listening to page activation and the page activation process can be rejected or allowed.

How about package installation?

Any help? 

Regards