Configure a tag path selector in Scheduler service in AEM6.5
Is it possible to configure a tag path selector in Scheduler service in AEM6.5?
I would like to configure a tag location that I then use in the Scheduler:
Example:
/content/cq:tags/blog/content/cq:tags/zkb/content/blogI tried to configure it like this:
@AttributeDefinition(name = "tagPath", description = "Enter content paths for tags used in Blog Articles.")
String[] getTagPaths() default {"/content/cq:tags/blog", "/content/cq:tags/zkb/content/blog"};
@Activate
protected void activate(final Config config) {
tagPaths = config.getTagPaths();
}
The result is that I by default get an String array with one element with value /content/cq:tags/blog, /content/cq:tags/zkb/content/blog
I can go in /system/console/configMgr and manually add tagPaths but I am not able to configure it like that programatically.
