내 커뮤니티 업적 표시줄을 확대합니다.

해결됨

How to enable ACS AEM Commons Redirect Manager on AEM aa CS

Avatar

Level 1

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.

 

NeilKe_0-1729692378994.png

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

 

 

 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @NeilKe 
If you need to enable this for both Author and Publish  then just create one config inside config folder

\ui.config\src\main\content\jcr_root\apps\<my app>\osgiconfig\config

Arun Patidar

AEM LinksLinkedIn

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @NeilKe 
If you need to enable this for both Author and Publish  then just create one config inside config folder

\ui.config\src\main\content\jcr_root\apps\<my app>\osgiconfig\config

Arun Patidar

AEM LinksLinkedIn

Avatar

Community Advisor and Adobe Champion

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