since ‎19-01-2016
‎06-09-2020
Gaurav-Behl
MVP
Re: DAM without S7 or dynamic media Gaurav-Behl - Adobe Experience Manager
A lot of this solution depends on the requirements i.e.size of media, type of media, process to serve the media, caching and flushing strategy, design to store in DAM, your AEM's architecture to store the media, replicate the media (binary or binaryless way) to publish servers, authoring aspects, ACLs etc.You may also need to think about other integrations, possible assets maintenance/reporting/workflows aspects etc..Per my knowledge, Scene7 is more than just a media hosting solution. I assume t...
398
Views
1
Like
0
Answers
Re: Managing Traffic between 2 AEM Instances Gaurav-Behl - Adobe Experience Manager
Aneet is correct that traffic distribution is a function of Load Balancer either a hardware or software one. It depends on the physical architecture of your site and how WAS-AEM relationship is set up.Dispatcher (a type of software LB) is also responsible to load-balancing the requests to multiple publish servers in a farm. Check How is Load Balancing performed Dispatcher Overview
1116
Views
1
Like
0
Answers
Re: Check asset status (publish/unpublished) in Asset Finder on Page load (AEM 6.2) Gaurav-Behl - Adobe Experience Manager
Did you use http://api.jquery.com/trigger/ to trigger the click event or some other way?Did you apply debug breakpoint or check console logs to see if the issue is with trigger event or otherwise with code? Do you see modified DOM after the trigger event has finished processing?Can you test the same code in different browser to rule out any issues with your source code?Can you share the code that is not working?
4617
Views
0
Likes
0
Replies
Re: AEM integration with send grid Gaurav-Behl - Adobe Experience Manager
java.lang.NoClassDefFoundError: javax/net/ssl/HostnameVerifier means that javax.net.ssl.HostnameVerifier is not available to your source code at runtime.Check if your code bundle has packaged this class. If not, then there is an issue with your maven-bundle-plugin configurationsTry this in manifest - Import-Package: javax.net.ssl.HostnameVerifieror javax.net.ssl.*, *;scope=compile or javax.net.ssl.* in pom.xml
527
Views
0
Likes
0
Answers
Re: Check asset status (publish/unpublished) in Asset Finder on Page load (AEM 6.2) Gaurav-Behl - Adobe Experience Manager
Try this(function ($, $document, author) { "use strict"; $document.on('foundation-contentloaded', onAssetFinderLoad); function onAssetFinderLoad(){ $.ajax(author.page.path+ "/jcr:content.json").done(checkStatus); } function checkStatus (data){ var q = data["cq:lastReplicationAction"]; if(q && q == "Activate"){ $( "input[type=radio][value=Activate]")[0].checked = true; // use a different selector for radio buttons in case of a conflict/customization $( "input[type=radio][value=Deactivate]")[0].ch...
4617
Views
0
Likes
3
Replies
Re: how to fix this bug Uncaught Error: Page design could not be loaded in editor.html? Gaurav-Behl - Adobe Experience Manager
I could not reproduce the issue on 6.4.3 even with 20K calls.Probably a bug in old versions with a possible hotfix. Check if you can reproduce in latest version or otherwise install latest CFP or SP as applicable.
616
Views
0
Likes
0
Answers
Re: i18n translation not working in AEM 6.4 Gaurav-Behl - Adobe Experience Manager
Couple of things:1) Check if all the i18n bundles are active in /system/console/bundles2) Check the error.log for any i18n related errors. Bounce the server, if required and check.3) Find the service user's name under Apache Sling Service User Mapper Service Amendment. It should be something like Mapping: org.apache.sling.i18n=[repository-reader-service] The name within brackets is your service user for i18n bundle. For translation service, it might be a different service user like com.day.cq.wc...
1457
Views
0
Likes
0
Answers
Re: How can I optimize the codes in order to fix performance issue using Query Builder ? Gaurav-Behl - Adobe Experience Manager
sample queries -SELECT * FROM [cq:Page] AS s WHERE ISDESCENDANTNODE(s,'/content/site/shared/menucollections') OR ISDESCENDANTNODE(s,'/content/site/shared/menuitems')or simply the root node for menucollection and menuitem - SELECT * FROM [cq:Page] AS s WHERE ISDESCENDANTNODE(s,'/content/site/shared')orfulltext=""group.p.or=truegroup.1_group.path=/content/geometrixx/engroup.1_group.type=cq:Pagegroup.2_group.path=/content/dam/geometrixxgroup.2_group.type=dam:Assethttp://drfits.com/jcr-sql2-query-wi...
706
Views
0
Likes
0
Answers
Re: Can't create new page in wknd tutorial Gaurav-Behl - Adobe Experience Manager
please validate the following:core components are installed - see part-1both apps and content packages of wknd-sites is installedtemplate that you created is enabledthere are no javascript/css errors in the browser console of developer toolbar
10273
Views
0
Likes
0
Replies
Re: How can I optimize the codes in order to fix performance issue using Query Builder ? Gaurav-Behl - Adobe Experience Manager
If you have already identified that the performance issue is in "DataRetriever.fetchMenuItems()" that means you are certain that there is no issue with the java code and the logic but the generated query. Is this assumption correct?Try couple of things: Generate the query of fetchMenuItems() and run Explain Query to understand if that query is the bottleneck and hoe many times that query is executed within the loop? - http://localhost:4502/libs/granite/operations/content/diagnosistools/queryPerf...
681
Views
0
Likes
0
Answers
Re: i18n translation not working in AEM 6.4 Gaurav-Behl - Adobe Experience Manager
Try this - i18n translations are no longer working Validate the ACL of service user that you have created in 6.4. Logging-in as Admin or any other user won't help but the ACLs configured on the service user.
1469
Views
0
Likes
0
Answers
Re: Tagsearch implementation Gaurav-Behl - Adobe Experience Manager
Tagsearch predicate doesn't have excludeproperty or similar. I think you might have to create specific Lucene index & use 'excludePropertyNames' to avoid jcr:title and jcr:description.Reference - Oak Queries and Indexing
489
Views
0
Likes
0
Answers
Re: crx/packmgr/update.jsp 404 Gaurav-Behl - Adobe Experience Manager
Yes, I also noticed '/crx/packmgr/update.jsp' doesn't work for 6.4Adobe Experience Manager (AEM) API​ is an old swagger link for OAK 1.2+ which still works in AEM 6.16.3 and 6.4 docs, Using cURL with AEM, do not mention about this use case. I'm not sure if updating filters is still supported. Probably something for Scott/team to comment on.
3015
Views
1
Like
9
Replies
Re: Configuring dispatcher with IIS in windows 10 Gaurav-Behl - Adobe Experience Manager
I've a copy of IIS working with dispatcher v4.2.3 on Win10. I can try if you have any configuration related questions.
7433
Views
0
Likes
1
Replies
Re: AEM 6.4.3 | Not able to edit any component Gaurav-Behl - Adobe Experience Manager
Please share the page url, console logs and screenshot of the issue(s).
2398
Views
0
Likes
0
Answers
Re: AEM 6.4 /aem/start.html icons not apprearing in IE11 browser Gaurav-Behl - Adobe Experience Manager
Check the console logs for any errors in developer toolbar and check the "Dcoument/Browser mode" that it should be 11.If it shows the icons after page reload, then it's a browser configuration issue.Change browser mode if required - https://www.thewindowsclub.com/change-document-browser-mode-ie-11
1033
Views
0
Likes
0
Answers
Re: Preview of image is not available Gaurav-Behl - Adobe Experience Manager
Refer Unable to open Assets of TIFF format in DAM
671
Views
0
Likes
0
Answers
Re: AEM 6.4 | OOB Image rendition create high file size image Gaurav-Behl - Adobe Experience Manager
I was able to reproduce the mentioned behavior. First, let's try to understand why does it happen - Say you have an image of x:y dimensions with some aspect ratio and some resolution (pixels per inch). You can resize (either downsize or upsize, downscale or upscale, resampling etc.) an image via maintaining the aspect ratio or otherwise maintaining the resolution or otherwiseother algorithms/terminologies in computer graphics When you upsize/upscale an image, it adds more pixels to the existing ...
7081
Views
1
Like
3
Replies
Re: AEM 6.4 | OOB Image rendition create high file size image Gaurav-Behl - Adobe Experience Manager
I tested with a small image didn't observe this issue with 6.4.2 & 6.4.3 SP and all the generated renditions are in KBs. Can you share the steps/screenshots/logs about this issue?
7081
Views
0
Likes
5
Replies
Re: AEM 6.4.3 | Not able to edit any component Gaurav-Behl - Adobe Experience Manager
I didn't face any issue with 6.4.3 SP. Are you observing this behavior in your custom code/project? Tryto bounce the server and check if the error still persists?to edit We.Retail site components and observe the behaviorShare the page url/screenshot/logs about the issue accordingly.
2405
Views
0
Likes
0
Answers
Re: Classic UI Listener for Multifield dependent drop-down Gaurav-Behl - Adobe Experience Manager
Modify it per requirements - Experiencing Adobe Experience Manager - Day CQ: AEM CQ 56 - Dynamic chain select widget with combo boxes Other samples:Setting Default value to the drop down of Dialog in Adobe AEM (CQ5) | myprogressivelearning Adobe Experience Manager Help | Populating AEM Component Dialog fields using JSON data returned by Sling Servlets AEM 6.0 Forms Help | Dynamically populating drop-down lists https://www.argildx.com/dynamic-options-values-aem-dialog-dropdown-using-path/ AEM: Wa...
640
Views
0
Likes
0
Answers
Re: The site has a www and a non www version. We only want to keep the www version. Can this be done with AEM? Gaurav-Behl - Adobe Experience Manager
There are multiple solutions to achieve this:1) Apply an irule to redirect all non-www requests to www at external Load-balancer used of your site. E.g. BIGIP // At times it can be performance intensive based on the volume of traffic 2) Depending on the physical architecture of your site and if you have a multi-domain site pointing to same origin server, then you may use another solution at DNS level. //this solution depends on how DNS setup is done.3) Apply the redirect at apache or use CQ rewr...
664
Views
0
Likes
0
Answers
Re: wcmmode.edit not working in personalization for HTL Gaurav-Behl - Adobe Experience Manager
I'm a bit disconnected here about your use case. I assume that you want to set a specific class on an element/component in EDIT mode during or after Targeting happens.I think the "default" selector call happens when the segment is not resolved and Targeting loads your "default" experience/component and hence the call with selector default happens. If you want to achieve this after Targeting has happened then you can inject this class via simple javascript/jQuery on load of the page (not on DOM r...
900
Views
0
Likes
0
Answers
Re: wcmmode.edit not working in personalization for HTL Gaurav-Behl - Adobe Experience Manager
What is your exact use case & design?Wcmmode API (either via HTL or CQ WCM or ACS Commons taglib) is a server side functionality and ContextHub Personalization/Targeting is a client-side functionality which executes at runtime either via localstorage or cookies etc. When the server (AEM author/pub in this case) has already rendered the generated html response to the browser, server-side 'wcmmode' object will not be available to the client.Use a client-side solution if you want to check EDIT mode...
906
Views
0
Likes
0
Answers
Re: teaser styles is not coming fine after adding less file. Gaurav-Behl - Adobe Experience Manager
Are you not able to see the style-brush or the style option "HomeTeaser" itself or otherwise the changes are not visible after applying the style option? Use developer toolbar to validate the generated DOM structure. It should be something similar to mentioned below as Style System follows the descendant selector convention: // wrapper class // component specific class ..... ..... Validate that the generated css has classes ".cmp-teaser--home .cmp-teaser .cmp-teaser__title {...}" and ".cmp-te...
690
Views
0
Likes
0
Answers
Re: Search on the Adobe AEM 6.4 Gaurav-Behl - Adobe Experience Manager
There are a lot of aspects attached to this kind of comprehensive end-to-end search design & solution. There are a lot of threads in this forum to help you with a lot of questions and you may ask other specific questions which are not answered. A few aspects to this solution are:Design strategy based on specific requirements for each use case e.g. where the content is stored, how would it be fetched etc.Component development strategy again based on requirementsyou may use QuickSearch component a...
616
Views
2
Likes
0
Answers
Re: Jquery, Granite etc. not resolved after upgrade from AEM 6.1 to 6.4 Gaurav-Behl - Adobe Experience Manager
This issue could probably be related to jQuery versions conflict; your project's custom jQuery version vs AEM6.4's OOB jQuery version.Couple of pointers:Use debugging points to iron out what versions and methods of jQuery are available Check if jQuery is loading when it is supposed to load i.e. before invoking any method on itCheck (& modify, if applicable) the sequence (onReady vs DOM load) and order of libraries getting loaded on the pageCheck if any redundant libraries are getting loadedCheck...
1058
Views
0
Likes
0
Answers
Re: How to call flush agent programmatically for flushing referenced page Gaurav-Behl - Adobe Experience Manager
Follow the source code of DispatcherFlusherImpl.java - acs-aem-commons/bundle/src/main/java/com/adobe/acs/commons/replication/dispatcher/impl at master · Adobe-Consulting-Serv… Couple of old blogs for reference:Blogger Alampu: AEM: Replication and Dispatcher Cache Adobe CQ/Adobe AEM: How to use static agent in CQ / WEM
1694
Views
0
Likes
0
Answers
Re: How to get full path when upload file choose desktop file workflow? Gaurav-Behl - Adobe Experience Manager
Pick the file using File API like File file = new File(path_to_file); and then use file.getPath();Alternatively, if you want to use a generic solution rather than a system dependent folder structure, try this -File directory = new File("."); -- current WD for AEM, map the file path relative to AEM directory somewhere outside crx-quickstartString path = directory.getCanonicalPath() + File.separator + LOCAL_FOLDER + File.separator; -- File.separator would work both on Win & Linux File file = new F...
826
Views
0
Likes
0
Answers
Re: (AEM 6.3) clientlib below etc/designs/my-site not getting deleted Gaurav-Behl - Adobe Experience Manager
Try this..Modify the filter mode in ".content.xml" under definition folder parallel to filter.xml -Filter modes per Jackrabbit Filevault - Workspace Filter“replace”This is the normal behavior. Existing content is replaced completely by the imported content, i.e. is overridden or deleted accordingly.“merge”Existing content is not modified, i.e. only new content is added and none is deleted or modified.“update”Existing content is updated, new content is added and none is deleted.
888
Views
0
Likes
0
Answers