Ask Me ?


Hi Readers,

Here you may comment all the questions/ doubts which you encountered during your journey for AEM. I will try my best to help you out and might connect with you to solve them too.

Also you may post interesting questions which you went through during your respective interviews , and I will try to answer them and thereby increase the Question Bank for masses.

So go ahead and post the questions !!

Thanks a lot .

Hashim

703 thoughts on “Ask Me ?

  1. Hi Hasim,

    I got one requirement to do customization in file uplaod with some naming convension, I did it in lib folder inside but one problem i getting every new feature pack installation in production my change will be overridden. So i just want to know can i try the same structure in app folder. when i am trying so i am geeing javascript error(ught DOMException: Failed to execute ‘registerElement’ on ‘Document’: Registration failed for type ‘coral-chunkfileupload’. A type with that name is already registered.) and file is not uploaded. Could you please suggest some solution for this.

    thanks in advance .

    Like

  2. Hi Hashim,

    I have a multifield dialog with two textfield widgets.I want to compare the values entered in these textfields.
    I am able to do in normal dialog using Listeners, but unable to do for Multifield dialog.(Please help me where to add listener node, and how to access the textfield
    widgets using javascipt)

    Like

    • Hi Rohit,
      They keep on changing the passing score. So it’s not clear. As per the document its approx 550 (75%), but it really depends on the difficulty level of exam.
      Keep in mind, Adobe wants you to clear the exam. So if you work hard it should be easy.

      Liked by 1 person

  3. Hi Hashim,
    I have created workflow models and configured launcher for page creation and content update. It works fine by workflow trigger –>approval—>moved to publish.
    But when I activate or deactivate a page, automatically it is reflected in publish without workflow process. What launcher condition has to be given for Page Activation/ Deactivation?

    Like

  4. Hi Hashim,
    I have a user group “Content admin”. where the user can only have the following permissions:
    1.Can Activate & Deactivate pages (so I have enabled Replicate privileges)
    2.Cannot Create,Modify,Delete content (so I disabled create,modify,delete privi for content folder)
    3.Can complete the workItem from the workflow.

    On disabling the permissions for Create, modify and delete, the user cannot complete the workflow step.It throws error as “Could not complete workflow step” and console error as:

    Unable to add OrMemory
    Status 500
    Message Unable to add OrMemory

    Thanks

    Like

    • It could be possible as the Workflow might be adding/modifying some jcr properties/ metadata for that page. As you have blocked Modify permissions this function is restricted.

      Like

  5. Hi,
    I want to do validtaion for title against javascript tags present in it, before author saves the value to WCM/JCR. How to do this.

    Like

  6. Hi Hashim,

    I want to reuse one of my component for example: Header component in other non AEM application.

    We need the same functionality and UI design of the component in other non AEM application.

    Can you please provide any approach to achieve this.

    Thanks,
    Sumedh

    Like

    • Hi,
      I am not sure in which application you want to port your AEM component.
      If you want to pick and place your generated static HTML component – its just HTML + CSS + JS

      if you want to Author in AEM and use its content/ properties at other places you can export the data from AEM server using Sling Exporter or using .json for that path.

      Like

  7. I have followed the SCHEDULER API.i was got this error. Please help for me.

    ERROR* [qtp1525791750-5520] com.adobe.cq.Firstschedule-bundle [com.adobe.cq.HelloWorldScheduledService(2889)] Could not load implementation object class com.adobe.cq.HelloWorldScheduledService (java.lang.ClassNotFoundException: com.adobe.cq.HelloWorldScheduledService not found by com.adobe.cq.schedule-bundle [489])
    java.lang.ClassNotFoundException: com.adobe.cq.HelloWorldScheduledService not found by com.adobe.cq.schedule-bundle [489]
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574)
    at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1415)
    at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1595)
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1525)
    at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
    at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1925)
    at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:978)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:952)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:980)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:812)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)
    at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)
    at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)
    at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)
    at org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)
    at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)
    at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
    at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415)
    at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
    at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
    at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:365)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:567)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)
    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)
    at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:124)
    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Unknown Source)
    25.04.2018 17:47:28.794 *ERROR* [qtp1525791750-5520] com.adobe.cq.Firstschedule-bundle BundleComponentActivator : Bundle [495] Unexpected failure enabling component holder com.adobe.cq.HelloWorldScheduledService (java.lang.IllegalStateException: Could not load implementation object class com.adobe.cq.HelloWorldScheduledService)
    java.lang.IllegalStateException: Could not load implementation object class com.adobe.cq.HelloWorldScheduledService
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:959)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:980)
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:812)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)
    at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)
    at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)
    at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)
    at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)
    at org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)
    at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)
    at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
    at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)
    at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415)
    at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
    at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
    at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
    at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
    at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
    at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:365)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:567)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)
    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)
    at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)
    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:124)
    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Unknown Source)

    Like

  8. Hi Hashim Khan,

    I want read the values from properties file and check the condition in serviceImpl class and schedule the job.

    for example : look like we have 3 environment (Dev,QA,Prod), for each instance have different cron expression for schedule the job.

    Like

  9. Hi Hashim – Can we write a groovy script to generate page content into a json (this is jus like ootb .json), but I need the script to run thru the child pages as well and give a consolidated content of pages under a path in json format (including all content within every page).

    Like

  10. Product pages need to be created under category page only. Which of these is true?
    1. Use allowedTemplates on product page template
    2. Use allowedParents on product page template
    3. Use allowedChildren on category page
    Answer: use allowedChildren on category page
    also this one as according to me if product page has to be restricted them allowed parent should be category page
    Thanks in advance

    Like

  11. Hi Hashim,
    We have a requirement where we need to move expired article from Original folder to Archival Folder based on published date. We are able to move articles to new folder through our Java codes, but some properties are getting missed and page is getting de-activated while movement . Using AEM 6.0 we are still able to open the page using Vanity from the new location. But in 6.3 we are not able to open it.

    Is there any solution to move the page from one location to another with all the properties(using java code/programmically).

    Like

    • Hi Mahesh,
      The PageManager Move resource is the way to go for this request. https://goo.gl/ru8Bav If your properties are not completely getting moved, there must be some error in the encoding of property values. From AEM 6.0 to AEM 6.3 there are a lot of API level changes that could be the reason for it. Page De-activation might also be a step in the resource move function. You may activate the page later or via code, after verification.

      Another solution is to use groovy, but that would also use PageManager move function, as its the best way out. It will also change the references of your moved page.

      Like

  12. Hi Hashim,

    I have a question about Unspecified search keyword in Adobe Analytic. I see it takes more than 50% of total keywords search in Search report. Is it ok or it is error when searching?

    Like

  13. hi Hashim ,

    I had a query regarding MSM Rollout configs in AEM 6.3
    We are facing issue with link updates on rollout. Following is our setup

    Blueprint:

    /content/testcompany/language-masters/en

    Live Copy:

    /content/testcompany/us/en

    If we add a link (/content/testcompany/language-masters/en/xyz) to any component on page /content/testcompany/language-masters/en/test, this link will not get updated on rollout. On live copy page /content/testcompany/us/en/test i can still find same link (/content/testcompany/language-masters/en/xyz). This issue only occurs when a link on a page does not match blueprint path. If on same test page if i add a link (/content/testcompany/language-masters/en/test/test1), it will get updated correctly to /content/testcompany/us/en/test/test1

    Have you faced this issue before? Any inputs will be appreciated.

    Thanks.

    Like

    • I am not sure what are you trying to do here ? Shouldnt the live-copy use all the links present in the live-copy path ? Or it could be that the xyz link isnt getting rolled out. Please check your MSM configurations.

      Like

  14. Hi Hashim Khan,

    I want prepare for AEM certificate. kindly guide to me. Any Online material or how will prepare and do the certificate .

    Like

  15. Hashim, we want to do a “in” query – what’s the best way to do an in query which is high performant? For example, if i needed to know a SKU in (‘a’,’b’,’c’,’d’,’e’) ? Is there a predicate that evaluates this kind or there is any other way you know of other than traversing the path 5 times

    Like

  16. I have a java service class and from this class i want to record a specific information in a log file every time this class is invoked.

    Creating a custom log file and having a log level of debug or info would display all the logs of this class where as i want to record only specific information in a log file.

    What can be the possible workaround ?

    Like

    • Hi Vineet,
      If the issue is coming in the OOTB configurations of the Bluetooth/Live copy you should raise the issue with DayCare customer care. If you have modified the Rollout configurations, then it might be your config issue. Please check logs for that.

      Like

  17. Hi Hashim,

    Thanks for helping out earlier.

    I have a requirement where I have content (eg: all brands info)which has to be shared between two AEM projects ,what can be the recommended approach on this .
    Can you provide some guidance .

    Thanks again!!

    Like

    • Hi Farah, If the 2 AEM projects are present in the same environment it’s better to create a global folder Or Iparsys inheritance for brand information and let both projects pick data from that common folder / iParsys.
      If the AEM instances are different, you should duplicate the brand information in both instances.

      Like

  18. Hi Hashim,
    i need help in writing a groovy script.
    i have a path like /content/myproject/en/node1/node2/node3/node4/jcr:content/planing
    i need retrieve property of planning node.

    Could you please help here?

    Thanks

    Like

  19. Hi Hashim,

    Kindly provide the sample steps for automating the backup of AEM via cron job and on completion of backup.
    Please provide some sample code or any documents.

    Thanks and Regards,
    Prabu.T

    Like

  20. Can you pls help with below question.

    A Component is added in template and saved. Now but changes are not reflected in existing pages
    What needs to be done:
    a) Clear browser cache
    b) Re-compile the JSP
    c) We cannot modify the existing Templates
    d) Changes will take some time to get updated
    e) With new packages/pages creation, changes will get created.

    Like

  21. 31. What can be done if we want to overload text image component

    (Choose 2)
    1. Make Dialog
    2. Add new CSS to it
    3. Change the extension to .jpg
    4. Create a new JSP to render a image.

    Like

  22. Hi Hashim,
    Thanks for helping out earlier.
    I have a requirement where i need to fetch some dialog properties and use the same into another component.Can you guide me with the approach.Thanks

    Like

  23. Hi I am having a bug using cq-msm-lockable on cq/gui/components/authoring/dialog/richtext
    It works well but also allows author to edit values.
    Do you have any thought/solution/suggestion for this.
    I have tried it with adding additional node granite:data as well.

    Like

  24. Hi
    Do you have any AEM 6 Business Practitioner certification material/link.
    If you have,can you please guide me.

    Thanks,
    Rahul Kadam

    Like

  25. Hi Hashim,

    I’m planning to use the curl command for garbage collection but when i’m trying to access this i’m getting 404

    Curl commands:
    1.curl -u admin:admin -X POST http://localhost:4502/system/console/jmx/com.adobe.granite:type=Repository/op/runDataStoreGarbageCollection/java.lang.Boolean

    2. curl -u admin:admin -X POST –data markOnly=true http://localhost:4503/system/console/jmx/org.apache.jackrabbit.oak“%”3Aname”%”3Drepository+manager”%”2Ctype”%”3DRepositoryManagement/op/startDataStoreGC/boolean

    Like

  26. Hi,

    can you Please let me know if we can integrate AEM 6.2 with SAML 1.1.

    Our service Provider is AEM and IDP is using SAML 1.1.
    Does out of box SAML 2.0 handler can integrate with IDP with SAML 1.1.

    If no,what would be approach to integrate AEM with SAML 1.1.

    Do we need to write Custom SAML handlers for Integration.

    Like

  27. Hi Hashim,

    I’m trying to figure out if it’s possible to customize the name of the node AEM creates when I drop a component on the page.

    The node where my component is defined is named “knowledge-center-question” and when I drop it, AEM creates a node named “knowledge_center_que” in the page’s node tree using its default naming logic. I would prefer for the node name to be “question” when it is dropped (but I’d rather not rename the component itself).

    It seems like this kind of thing must be possible given how customizable everything is in AEM, but I’m struggling to find an answer.

    Thank you!
    Ben

    Like

  28. Hi Hashim
    am getting java.lang.NoClassDefFoundError: javax/net/ssl/HttpsURLConnection in runtime in AEM server
    in my code am not calling HTTPsURLConnection class but am consuming adal4j jar in which HTTPsURLConnection is been called,
    HTTPsURLConnection is belongs to java library rt.jar only but still am facing issue
    which is working fine in java console

    am using AEM 6.4 and java 1.8

    Like

  29. Hi Hashim,
    I have a requirement of implementing authentication for servlets. I have a servlet created that serves Post requests coming from other apps and is succeeding posting data to JCR nodes. Now, I have to make this secure so that authorized apps can hit this service(with correct credentials).
    I thought of creating a user/group having credentials and only they can access the servlet.
    How can I achieve this?
    Any help would be helpful.

    Using AEM 6.2

    Like

  30. Hi Hashim,
    Greetings,
    I have a scenario where I need to delete more than 30000 nodes under etc.
    I am using a servlet to delete them. But It is not working properly. Could you please suggest which choice works here to delete such a large amount of nodes in PROD environment?
    Thanks

    Like

  31. in dam assets when I m trying to open a folder it throws null pointer exception and status code is 500 server error, even resource type of folder is OdrerdFolder only . can u help me with this.

    Like

  32. Hi Hashim,
    I Am “facing Nullpointer exception” in the subfolder of DAM Assets even resource type is OrderedFolder, can u you please help me with this.
    one more problem I am facing when I navigate folder to folder in dam assets a few subfolders I can’t access it throws an error ” Failed to load data ” but directly through URL I can open the folder, in it a subfolder throws Null pointer exception.

    Like

  33. I have faced a different issue on AEM6.1 author. New folder and few web pages were added in author and published to 3 production servers.All changes looks good on publish but suddenly in author the added pages were missing. No logs found for deletion. But we see high CPU utilization (to 91%). in author. Another issue noticed was , logs files were also missing for few dates on author box.During the same time modified and published changes were reverted in Author but were good in publish environment. Also during/before that time server was too slow to open the dam content and bounced the author. Is there any way to find reason for missing pages and reverted web pages on AEM author

    Like

  34. Hi Hashim,

    We are upgrading from AEM 6.1 to AEM 6.4 version, on env we are doing inplace Upgrade that helps in keeping the old references to /etc directory.
    My question :- if we do fresh installation using AEM 6.4 jar, is it possible to maintain the old references to /etc directory because on my local(did fresh installation) on click of commerce folder navigating to the “/var/commerce/products” page instead of “/etc/commerce/products” & still we are keeping our old commerce data in the /etc directory.

    Like

Leave a comment