Hi everyone,
I'm new to AEM aa CS and picking up a request from users to enable Redirect Manager as part of ACS AEM Commons.
When trying to create new Redirects via ACS AEM Commons tools, there is an error message that says
RedirectFilter is disabled and requires an OSGi configuration to start Please create an OSGi configuration for PID com.adobe.acs.commons.redirects.filter.RedirectFilter.
with a link to this page https://adobe-consulting-services.github.io/acs-aem-commons/features/redirect-manager/index.html .
Although compatible with AEM aa CS, looks like the guide is for AEM and references enabling the opt in feature via .xml OSGi file.
To accomplish the same with AEM aa CS, my assumption is to create a json config. file com.adobe.acs.commons.redirects.filter.RedirectFilter.cfg.json under the following nodes,
\ui.config\src\main\content\jcr_root\apps\<my app>\osgiconfig\config.author
\ui.config\src\main\content\jcr_root\apps\<my app>\osgiconfig\config.publish
with the simple content,
{
"enabled": true
}
and then rebuild and deploy.
Does this look right, and if not, what I need to do ?
Many Thanks for any help..
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
Hi @NeilKe,
I haven't used Redirect Manager from ACS Commons but your logic sounds OK. In case an OSGi component has the "policy = ConfigurationPolicy.REQUIRE" parameter set, then it only gets activated when you configure it on a specific environment.
Good luck,
Daniel
조회 수
Likes
답글