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..
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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
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
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
Views
Likes
Replies
Views
Like
Replies