since ‎20-05-2013
‎22-02-2021
PuzanovsP
MVP
Re: AEM integration with React without SPA
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Tkantk, The best one I have come so far to achieve your requirement, stunning work by Jenna Salau:https://github.com/DeloitteDigitalAPAC/react-habitat Regards,Peter

Views

89

Like

1

Replies

0
Re: com.day.cq.personalization.impl.TeasersCacheServiceIm...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Vijay, Thanks for your reply, we are pushing latest service pack of 6.4 right now to see if it will fix this problem. Regards, Peter

Views

86

Likes

0

Replies

0
Re: Need to fetch the country code from response Header
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Binoy, Define your model with adaptables = { SlingHttpServletRequest.class }, then in your model body add @Self private SlingHttpServletRequest request; Once you are inside your init method you can ask for the header value request.getHeader("my-header")); Regards,Peter

Views

178

Like

1

Replies

0
Re: AEM 6.4 filter.xml | exclude pattern not working
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Pradeep, Doesn't your TestConfiguration end with .xml, so that exclude rule would be :Regards,Peter

Views

174

Like

1

Replies

0
com.day.cq.personalization.impl.TeasersCacheServiceImpl does not invalidate cache on event
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi, We are using OOTB TeasersCacheServiceImpl to do personalisation in AEM 6.4.4.0. When we activate content we don't see variants updated on Publishers. The content get's replicated to Publishers, but the actual TeasersCacheServiceImpl that serves content to TargetedManagerImpl does not serve updated variants. We have verified and it's not due to Dispatcher. We are facing issues whereby, when we activate new content, com.day.cq.personalization.impl.TeasersCacheServiceImpl does not flush it's in...

Views

141

Likes

0

Replies

3
Re: how to hide server name in the response headder
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hey Ravi, One option is to fix this by removing this header via the Dispatcher itself. To remove it via Dispatcher: First, enable mod_headers, by adding it to your main .conf file LoadModule headers_module /path/to/your/lib/mod_headers.soFollowing which in your .conf file add following command, where ServerName is the name of the header you want to remove from your output.RequestHeader unset ServerName Regards,Peter

Views

119

Likes

3

Replies

1
Re: Using ReferenceSearch outputsLucenePropertyIndex This...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Tomas, Adobe Folks are aware of this warning, this has been reported to them before. As per latest this warn is being tracked in their own Jira. There is nothing we can do about it right now, except ignoring it and marking it as known in your wiki. Regards,Peter

Views

97

Like

1

Replies

0
Re: APIs to retrieve the scheduled jobs
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Kasiv, The API is not exposed, so we have to use workaround to get these details. In ideal universe we would always know the names of our jobs. One Options is to:Write code to get the list of scheduled jobs from the output of the Apache Sling Scheduler Configuration Printer parse it and get a list of jobs.Another Option is to:Create your CustomerSchedulerWrapper where you would save all the jobs you created in a data structure that fits your needs and manage jobs appropriately. Via both optio...

Views

140

Like

1

Replies

1
Re: Page business logic based on SAML response
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hello Francesco, Unfortunately, since AEM 5.6.1 Adobe Saml library has been locked for any really cool work, so you can only use what's available OOTB, Adobe Docs have these details[1] They should give you a good starting point. [1] https://helpx.adobe.com/experience-manager/using/aem63_saml.html If you need more then what's there is OOTB you'll have lots of work ahead of you. Regards,Peter

Views

206

Like

1

Replies

0
Re: Measure Time For Asset Uploading in AEM DAM
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
1. That depends on your requirements. If you got no workflow's it even simpler for you. 2. I do not think AEM would have such report for you, but you can craft such yourself in few hours.

Views

210

Likes

0

Replies

0
Re: Measure Time For Asset Uploading in AEM DAM
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hey Dipu, 1. Make sure you have all your workflows you will need created and enabled.2. Upload 100mb(can be more) of assets and measure time it will take for your instance to process them. Check the time start = when you start your upload, end = when all the workflows have finished running in your instance. This will give you an idea how long it takes to process 100mb of assets, then you can multiply the time with the time of your total assets. Hope it helps! Regards,Peter

Views

226

Like

1

Replies

2
Re: Tips for Optimizing Performance for AEM Communities (...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hey Turbotad, What stats does your Solr tell you in terms of it's current caching metrics? Can you go to Solr admin web console -> your core -> plugins stats and let us know the info you see? Regards,Peter

Views

208

Like

1

Replies

1
Re: org.eclipse.jetty.io.RuntimeIOException: org.eclipse....
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Artur, May I ask you to try and:"increase Jetty servlet engine's response buffer size to avoid early auto-flushing. Response Buffer Size can be set on the Jetty OSGi configuration (http://host:port/system/console/configMgr/org.apache.felix.http). You could safely increase this as high as 200000." [1] [https://helpx.adobe.com/experience-manager/kb/Response-is-committed-error-during-page-load-AEM.html] Additionally, I would ask you to look at your code and verify that no where else in other par...

Views

293

Like

1

Replies

0
Re: Migrating content to AEM as a Cloud service is easy
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Manising, Did you use VLT tool in the back end or have you build something custom to do this migration to the cloud? Regards,Peter

Views

835

Like

1

Replies

0
Re: AEM 6.5 Solr integration issue
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hey Bino, This article has been created and tested on AEM 6.4. If you want to use this code in 6.5 you need to perform upgrade of this demo code from 6.4 to 6.5 then it would work. Regards,Peter

Views

2.5K

Likes

2

Replies

2
Re: CQ.Util.formatData(CQ.Util.eval('/apps
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hey Adobe AEM, CQ.Util got broken in one of the AEM 6.4 patches. Please verify that you have same hotfixes and SP's installed on both boxes. Regards,Peter

Views

1.7K

Like

1

Replies

0
Re: Custom rollout action
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Deepikaa, Is your requirement to copy all images for all locales?Why would you want to duplicate your image to different locales, having big DAM increases costs directly or indirectly? Simply add expiries for different regions as meta-data for one asset, it's easier to maintain it that way.Then once you hit your image servlet, check for expiry time for this locale and if expiry has been hit, show 404 to the user. Regards,Peter

Views

3.7K

Likes

2

Replies

2
Re: Best Mechanism to flush cache on CDN
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Rajeev, The best answer on this I have seen in years is this:https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-control-the-order-of-replication-agents/qaq-p/264938 "You cannot control the order in which the replication happens; these run asynchronous and can be blocked/delayed by various reasons (e.g. a publish might be down for restart). If you want to enforce that the Akamai invalidation agent is triggered after the other replication happened, you have to ru...

Views

4.0K

Like

1

Replies

2
Re: Timeout error for JMX
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Nadi, Having to sit on a screen for 45 minutes is not great design of your system. What happens if you machine restarts or you accidentally close the browser window? Design JMX in a way that you have execute method and status method. String status(); // tells you the status of the current traversing progressvoid start() throws Exception // starts the traversing and returns when successfully started, throws an exception when can't startvoid stop() throws Exception; // potentially useful as w...

Views

2.1K

Likes

0

Replies

1
Re: java.lang.StackOverflowError/ScriptEvaluationExceptio...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Yash, Ideally, you should be assembling one JSON and then outputting it with just one getter. Have a look at this presentation, as it might come handy:https://adapt.to/2019/en/schedule/a-non-spa-approach-for-aem-with-react.html P.S. I am always happy to help you with consultation. Give me a shout at peter.puzanovs@hotmail.com Regards,Peter

Views

2.7K

Like

1

Replies

1
Re: java.lang.StackOverflowError/ScriptEvaluationExceptio...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Yash, Are you passing JSON as pre-assembled string? Would it be possible for you to create a sample app that illustrates this problem with plain Sightly/Sling model? Regards, Peter

Views

4.8K

Likes

0

Replies

0
Re: java.lang.StackOverflowError/ScriptEvaluationExceptio...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Yash, Please check how you are passing these to the page. Most likely the issue is somewhere in your code. Rendering large json strings in Sightly does not cause stackoverflow's normally. Regards,Peter

Views

4.9K

Like

1

Replies

4
Issues on Documentation site
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager Forms
Hi, Found following issues on documentation site: Tutorial video does not complete till the end:https://helpx.adobe.com/experience-manager/how-to/forms-J2EE-specific-features.html?playlist=/services/playlist.helpx/learn-path:beginner/customer-role:architects/playlist:get-started/products:SG_EXPERIENCEMANAGER~FORMS/en_us.json&ref=helpx.adobe.com Source code for this tutorial does not seem to be attached:https://docs.adobe.com/content/help/en/experience-manager-learn/forms/handling-af-form-submiss...

Views

2.5K

Likes

0

Replies

2
Re: AEM Core bundle is not resolving
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Kishore, Kindly check that you reference correct version of uber-jar in your project. Regards,Peter

Views

2.8K

Like

1

Replies

1
Re: Cookie samesite warning in aem
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Prasak, More docs on the change required:https://github.com/GoogleChromeLabs/samesite-examples and consequent changes in Apache:https://stackoverflow.com/questions/54104573/how-to-set-samesite-cookie-attribute-using-apache-configuration Regards,Peter

Views

2.5K

Likes

0

Replies

0
Re: AEM package install logs
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Pradhan, Yes, absolutely:https://stackoverflow.com/questions/49386181/package-errors-on-install-crx-de-no-logs-aem-6-3 Regards,Peter

Views

2.0K

Likes

0

Replies

0
Re: /libs/cq/config/rewriter/default (transformer, Output...
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Shekha, It's just processing priority marker, The highest priority wins. Code to look at: https://github.com/apache/sling-org-apache-sling-rewriter/blob/master/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java Regards,Peter

Views

1.6K

Like

1

Replies

0
Re: AEM instance disk size very bigger than it should be
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear RGBAnd, Pretty good guide summarising 5.6.1 maintenance activities:https://jcr-nosql.com/2015/02/24/aem-5-6-1-reducing-repository-size-and-nailing-down-web-site-navigation-slowness/ Namely:"1.Purge workflow instance data /system/console/jmx and then choose com.adobe.granite.workflow “Maintenance” and choose purgeCompletedWorkflow.2.Perform Tar Index merge it might take 10 to 20 minutes…please check error.log choose repository under /system/console/jmx and tarIndexMerge.3.Perform tar optimiz...

Views

2.1K

Likes

0

Replies

1
Re: How to avoid redundant Js and CSS in AEM
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Ajeem, By default AEM Clientlibrary would include only 1 version of css and html. E.g. if you drag and drop 2 same 'Breadcrumb components' only 1 css and js would be included. For two different 'Breadcrumb components' if they reference different css and js in both components then both would be included and you would effectively get more code. 1 Common way to avoid this would be to move your code into a a common ClientLibrary folder and drop there your code that you would like to be shared b...

Views

2.1K

Like

1

Replies

0
Re: Has any body ever faced the issue of 404 page rendered broken and throwing error Jquery or $ not found
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Mchag,Looks like there is a problem including your clientlibs for this particular template.Have a look at the templates that get invoked when you call 404 page and make sure it has correct and valid clientlibs included.Regards,Peter

Views

1.8K

Like

1

Replies

0