Skip to main content
Level 2
October 16, 2015
解決済み

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

  • October 16, 2015
  • 1 の返信
  • 640 ビュー

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

このトピックへの返信は締め切られました。
ベストアンサー gopalKa

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.

1 の返信

gopalKaAdobe Employee回答
Adobe Employee
October 16, 2015

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.