Hello Everyone,I need to write the junit for Event Listener. Attaching the sample code for reference. Could you please suggest the best way of writing the junit for Event Listener. package myproject.core.listeners;import java.util.HashMap;import java.util.Map;import javax.jcr.Node;import javax.jcr...
I'm trying to write a HTL statement using ternary operation with selectors and extension. But html is not compiling and throwing error.${slingModel.shouldHaveSelector ? slingModel.someLink @ selectors='content', extension = 'html' : slingModel.someLink @ extension = 'html' }Checked in HTL docs, but ...
Hi, I need to remove the OOTB roles (Observer, Editor and Owner) and replace them with the custom roles.I created the new roles under /apps/<my-app>/projects/<project-name>/roles.The new roles start appearing in the list, but the default ones are not replaced. Has anyone had a similar requirement. A...
Hi All, In our upgrade project, We are unable to get header for javax Webservices called.Seems like Apache felix framework bundle(5.6.1) was already providing that previously in 6.4Now in 6.5, the same bundle is not having webservices related dependencies.Do we have any documentation for this or any...
Hi, I've implemented a custom OAuth Provider and API. So currently AEM redirects to OAuth form, and after successful login user is redirected back to AEM withauthorization_code as a parameter http://localhost:4503/content/site/en/welcome.html?code=W8kJTZV9syQJ8JOuPWMTCeP_x2C190y-9CmWehunGpM&state=s5...
I am encountering issues in integrating AEM with Target. After creating a functioning IMS Configuration in Target, I have created the following Target configuration using my IMS Configuration:But when I try to Connect to Adobe Target, I receive the following result: I then proceeded to go and look a...
Server: AEM 6.5.5 We have a requirement like triggering a custom workflow programmatically on scheduled basis at the same time the scheduler should not trigger a new workflow instance until the existing instance is complete or terminated. Do we have any config or property to manage this or we need ...
We are in the process of testing 6.5 (AMS-hosted installation) and we were given some slides on the 6.5 upgrade. I want to know where do I find/access this screen. On the screenshot of the slide, I can see "Basic view", "Principal view" and "Node view". (The screenshot is too small to easily see the...
Hi, Do we have any linux script to trigger the status of AEM bundles incase if it stopped or in active state.Please let me know if we have such script. Thanks in advance.Mahesh