Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

Sling Filter for detecting package manager "install" POST request.

Avatar

Level 2

Hi,

We are trying to detect the POST request send out on click of "install" in the CRX Package Manager. The request can be seen in the inspect element console but the sling filter is not detecting it. Is some specific configuration required in the AEM or in the filter for the same or some a different approach can be taken?

Our final goal is to perform some activity before the package installs (nothing to do with the package being installed nor do we want to interfere with the default AEM package install process). 

1 Solução aceita

Avatar

Resposta correta de
Employee

Try your approach using com.day.jcr.vault.packaging.InstallHook.

Usually, you should capture the click, do some thing and then call install or capture the click, install and then after success do something. You cannot both post at the same time. May be I misunderstood.

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Employee

Try your approach using com.day.jcr.vault.packaging.InstallHook.

Usually, you should capture the click, do some thing and then call install or capture the click, install and then after success do something. You cannot both post at the same time. May be I misunderstood.