since ‎20-05-2013
‎04-11-2020
PuzanovsP
MVP
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

115

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

107

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

123

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

126

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

153

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

743

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.3K

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

3.9K

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.0K

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.6K

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.7K

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.8K

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.4K

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.7K

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.3K

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

1.9K

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.0K

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.0K

Likes

0

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.7K

Like

1

Replies

0
Re: How to setup schedulers in AEM?
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Jez,Nothing better can explain the change as the creators notes: Carsten Ziegeler added a comment - 26/Jul/13 07:59 This is a builder based approach which allows us to add more options in the future without the need to add more methods to the scheduler In addition, the methods now return a boolean rather than throwing an exception And the number of possibilities with the new api is reduced as some of the old methods have some overlap which now could be reduced down to 5 ways.Copied from : [...

Views

2.2K

Like

1

Replies

0
Re: Parsing Javascript file in AEM
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Parvathy,To what end do you want to parse Javascript?It's possible to use build in Google Closure Compiler to compile JS.(Build in AEM OOTB)It's possible to include library in your code to parse JS in any way you prefer.(Custom code)It's possible to include Chrome driver and run your code via Chrome driver.(Custom code)Regards,Peter

Views

1.8K

Likes

0

Replies

0
Re: JCR Cache IN AEM
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear Venkat, HTTP Cache​ - has solved it.Regards,Peter

Views

1.7K

Likes

0

Replies

0
Re: Issue in AEM Instance showing High CPU Usage
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Hema,Have you looked into: /system/console/status-slingscheduler is there any job that's running when CPU is high?Possibly there is a job that concurs with high load?Regards,Peter

Views

2.8K

Likes

0

Replies

0
Re: mailto: fails due to AppMeasurement on an iPhone device
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Upgrade from version 2.15.0 to 2.17.0 resolved the issue described here.Regards,Peter

Views

2.0K

Likes

0

Replies

0
mailto: fails due to AppMeasurement on an iPhone device
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi,This issue happens only in iOS, if you are using a desktop or Android device you wouldn’t see an issue with opening the email client. There is a thread on stack overflow about this, though it talks about Google analytics the concept is the same: https://stackoverflow.com/questions/42085551/safari-mailto-this-website-has-been-blocked-from-automatically-composing-an-emThe error is displayed in a popup in iOS Safari: “This website has been blocked from automatically composing an email” with the ...

Views

2.1K

Likes

0

Replies

1
Re: Dispatcher configuration for contexthub breaks rewrite conditions for url
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Dear VasconcelosAquila,Please consider the use of RewriteCond and sequencing in which you do put them.Also remember to put correct rewrite flags that should allow you to achieve your goals[1].[1] RewriteRule Flags - Apache HTTP Server Version 2.4 Regards,Peter

Views

1.6K

Likes

2

Replies

0
Re: Can a MSM rollout be cancelled in 6.3
Avatar

PuzanovsP

MVP

PuzanovsP
- Adobe Experience Manager
Hi Andy,The tools to fix MSM when something goes wrong are somewhat limited. Have asked this question to Adobe Engineering team continuously, have not heard definite answer on this yet.Best possible way here:Wait till it finishes rolloutRestarting can screw up AEM MSM index and leave you in a worse state then you started with.Regards,Peter

Views

2.2K

Likes

0

Replies

0