since ‎19-01-2016
‎27-05-2020
Gaurav-Behl
MVP
Re: How to publish (replicate) Global Trust Store and how... Gaurav-Behl - Adobe Experience Manager
TrustStore location is /etc/truststore. I haven't tried to replicate or move via package but you may try that
904
Views
1
Like
0
Answers
Re: Accessing DAM images directly with publisher host in... Gaurav-Behl - Adobe Experience Manager
Check the configuration under Apache Sling Content Disposition Filter or Adobe Granite REST Assets Content-Disposition Filter @ http://localhost:4503/system/console/configMgrfor configured patterns/extensions Content-Disposition header's value inline vs attachment does that magic Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
756
Views
0
Likes
0
Answers
Re: How to overlay classic ui page activation action Gaurav-Behl - Adobe Experience Manager
Check a few samples @ Experiencing Adobe Experience Manager - Day CQ: In the blog "Experiencing Adobe Experience Manger - Day CQ". You may follow the same approach.
3181
Views
1
Like
0
Replies
Re: dispatcher on iis server Gaurav-Behl - Adobe Experience Manager
Good to hear that!
3214
Views
1
Like
1
Replies
Re: OOTB Navigation component model class error Gaurav-Behl - Adobe Experience Manager
Compare runmode of local vs DEV/other env.Refer - Regarding using core components with nosamplecontent runmode, if runmode is the issue
2346
Views
0
Likes
0
Replies
Re: dispatcher on iis server Gaurav-Behl - Adobe Experience Manager
Could you share appropriate screenshots of the issue?Check the steps mentioned @ https://support.microsoft.com/en-us/help/942031/http-error-500-0-internal-server-error-error-when-you-you-open-an-iis for 0x8007007f errorRemove the ISAPI filter that is not valid. To do this, follow these steps:Click Start, click Run, type inetmgr.exe, and then click OK.In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify.In Features view, double-click ISAPI Filt...
3214
Views
1
Like
3
Replies
Re: render infinity.json with child nodes Gaurav-Behl - Adobe Experience Manager
In that case you may write a custom code to export json using Jackson/GSON API. Obviously, you'd end up writing a lot of boilerplate code. E.g. https://www.concretepage.com/jackson-api/read-write-json-using-jackson-objectmapper-jsonparser-jsongenerator-example ,https://www.geeksforgeeks.org/convert-java-object-to-json-string-using-jackson-api/ https://www.concretepage.com/jackson-api/read-write-json-using-jackson-objectmapper-jsonparser-jsongenerator-example Otherwise, as recommended by Adobe, u...
2432
Views
0
Likes
0
Replies
Re: Monitor/Alert when listener and scheduler stop running Gaurav-Behl - Adobe Experience Manager
Did you/your team get a chance to debug its root cause? Does it throw any error in logs? It seems that you plan to send an automated alert so that someone could manually restart the bundle as a workaround each time it happens.
5446
Views
0
Likes
0
Replies
Re: Clientlibs issue in AEM 6.5 Gaurav-Behl - Adobe Experience Manager
If the issue to access permissions on publish server then check Andrew's response here: Not able to access etc.clientlibs on publish environment
2717
Views
1
Like
1
Replies
Re: data inject to JCR null when try to resolve Gaurav-Behl - Adobe Experience Manager
The links shared above has reference implementationsFor OSGI annotations refer - https://medium.com/adobetech/aem-6-4-creating-a-scheduler-using-osgi-r6-annotations-4ad0b8c6fce7 https://medium.com/adobetech/using-the-osgi-declarative-service-in-aem-6-4-21102f649d54 Using OSGi R7 annotations in AEM - Experience Delivers AEM Developer Learning : Migration of SCR annotations to OSGi R6 annotations in AEM 6.3
3207
Views
0
Likes
0
Replies
Re: data inject to JCR null when try to resolve Gaurav-Behl - Adobe Experience Manager
Why do you instantiate the service in your code yourself? - AspectServiceImpl objAspectServiceImpl = new AspectServiceImpl();Can you confirm that your scheduler is annotated with SCR/OSGI annotations?Refer code samples here -acs-aem-samples/bundle/src/main/java/com/adobe/acs/samples/schedulers/impl at master · Adobe-Consulting-Services/acs-aem… https://adobe-consulting-services.github.io/acs-aem-samples/
3207
Views
1
Like
2
Replies
Re: should NOT respond to GET /bin/querybuilder.feed.css with 200 Gaurav-Behl - Adobe Experience Manager
check Security Checklist Check if the CRX development bundles are presentThese development OSGi bundles should be uninstalled on both author and publish productive systems before making them accessible.Adobe CRXDE Support (com.adobe.granite.crxde-support)Adobe Granite CRX Explorer (com.adobe.granite.crx-explorer)Adobe Granite CRXDE Lite (com.adobe.granite.crxde-lite)
821
Views
0
Likes
0
Answers
Re: How to Use POST Response from Alfresco API in AEM6.4 Gaurav-Behl - Adobe Experience Manager
Enable/Configure debug logs on "com.sunita.wpr.aem", "org.apache.http" and "org.apache.sling" and checkDo you see this servlet/service registered and enabled in felix console?What do you see in the browser console logs? Use developer tools or Fiddler or any other proxy and check the headers on request/responseCheck if there are any errors related to CORS/CSRF/Referrer Filter?
891
Views
0
Likes
0
Answers
Re: AEM internal Redirect and Resolve nested content Gaurav-Behl - Adobe Experience Manager
If I'm not wrong, a combination of Sling Filters and Processors might work for this use case.
846
Views
0
Likes
0
Answers
Re: How would you consider a site to be 6.4? Gaurav-Behl - Adobe Experience Manager
I assume your question is related to SCR/OSGI annotations in the java code/bundles and not best practices like repository restructuring aspects of 6.4, CRX2OAK migration, configuring lucene indexes etc. it would still continue to work in 6.4.3 till the time required dependencies are met. The AEM version would still be 6.4.3 in your case however, the application may/may not be adhere to Adobe recommended best practices.
802
Views
1
Like
0
Answers
Re: AEM always returns 200 status code. Gaurav-Behl - Adobe Experience Manager
Do you see 404.html or 404.jsp in your AEM instance under /apps/sling/servlet/errorhandler/? http://localhost:4502/crx/de/index.jsp#/apps/sling/servlet/errorhandler/404.html
1245
Views
0
Likes
0
Answers
Re: How to Use POST Response from Alfresco API in AEM6.4 Gaurav-Behl - Adobe Experience Manager
In your scenario, POSTMAN is replaced by AEM to access the API endpoint, hence you may not need -- post.setHeader("Postman-Token", "xxxx"); You may go through following links to set up OAuth. There are a lot of articles available on AEM-OAuth integration in this forum and on web:https://helpx.adobe.com/experience-manager/kt/eseminars/gems/aem-oauth-server-functionality-in-aem.htmlhttps://aemcorner.com/adobe-granite-oauth-authentication-handler/
879
Views
0
Likes
0
Answers
Re: How to Use POST Response from Alfresco API in AEM6.4 Gaurav-Behl - Adobe Experience Manager
I'm unable to understand why do you want to pass postman-token in this request.For bearer token try this -- post.setHeader("Authorization", "Bearer " + token); or httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "Your Oauth token"); For passing json, you have already written the code to set the body/json in HttpEntity -- post.setEntity(requestEntity);
892
Views
0
Likes
0
Answers
Re: Not able to integrate AEM and Adobe Campaign Standard via AEM cloud services Gaurav-Behl - Adobe Experience Manager
The screenshot shows "admin" as the user while you mention "aemserver" userCould you share the docs url that you followed to configure it?Refer to https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/campaignstandard.html​ or Integrating with Adobe Campaign 6.1 based on your AEM version.
914
Views
0
Likes
0
Answers
Re: SPA React not displaying Custom Components Gaurav-Behl - Adobe Experience Manager
Not sure if you have already gone through this doc -- SPA Editor Overview This diagram explains that if you don't rely on existing/OOB core components/Sling Models/Sling Model Exporters and build custom components then you would need to wire each entity in a correct way either using OOB models/exporters or otherwise with custom implementations.HTH
927
Views
0
Likes
0
Answers
Re: Up gradation of code base from AEM 6.1 to 6.4 (Upgrade WCMUse to WCMUsePojo) Gaurav-Behl - Adobe Experience Manager
If you plan to keep SCR annotations in 6.4 then update the jar versions. e.g. try using 1.20.0 or above for maven-scr-plugin and 1.9.0 for scr-annotations. Similar approach goes for compile time dependencies/plugins like 'servlet-api' etc.A clean & time saving approach would be to use maven archetype and create a new project from scratch if that's feasible. You could also choose a hit n trial approach - create a reference project using maven archetype and then utilize specific jar/versions into ...
750
Views
0
Likes
0
Answers
Re: ESAPI Configuration in AEM Gaurav-Behl - Adobe Experience Manager
The version of esapi, servicemix and its dependencies could vary based on your AEM version. What version of AEM do you use?There must be logs related to bundle not starting up due to some dependencies either in error.log or stderr.log Could you share that?When you click on the "installed" bundle you'd see the unsatisfied dependencies along with versions. Could you share that?
1589
Views
0
Likes
0
Answers
Re: Problem with encoding in email subject - 6.3 or 6.4 Gaurav-Behl - Adobe Experience Manager
Check if this helps In Mail question mark is coming in place of special characters Did you try to reproduce this issue with an updated version of acs commons?
2359
Views
0
Likes
0
Replies
Re: Workflow access restriction Gaurav-Behl - Adobe Experience Manager
Check if the following helps -Managing Access to Workflows How To Restrict Access To Workflow Models For A User Or Group How to assign permissions on workflow-models
931
Views
0
Likes
0
Answers
Re: emails unsubscribing Gaurav-Behl - Adobe Experience Manager
If you're talking about this forum's emails refer - https://forums.adobe.com/user-preferences!input.jspa
773
Views
0
Likes
0
Answers
Re: AEM SPA Ecommerce - Hybris Gaurav-Behl - Adobe Experience Manager
I haven't seen any papers on SPA-ecomm integration as a recommended path. In my mind, I'm not sure of the benefits of SPA owning it rather than AEM with GraphQL route. I'd probably do more research later.Alternate route per Adobe's own CIF -- Integrations Integration patternThe AEM Venia Store front is a mixed page application in which AEM owns the glass and Magento powers the commerce backend in a headless way. Both server-side rendering and client-side rendering are used in the storefront. Ser...
1667
Views
0
Likes
0
Replies
Re: Sling Model with custom selector not working in AEM 6.5 Gaurav-Behl - Adobe Experience Manager
check if this helps - Re: Sling Exporter with custom selector
749
Views
0
Likes
0
Answers
Re: Workflow access restriction Gaurav-Behl - Adobe Experience Manager
access control should work for this
879
Views
0
Likes
0
Answers
Re: Up gradation of code base from AEM 6.1 to 6.4 (Upgrade WCMUse to WCMUsePojo) Gaurav-Behl - Adobe Experience Manager
Is maven-scr-plugin:1.7.4 generated by archetype 11 or is it carried over from your 6.1 pom.xml?A best practice - It’s recommended to place Uber jar at the bottom of the dependency list so that Maven will honor any newer versions of dependencies that is explicitly declared inside the project POM.
743
Views
1
Like
0
Answers
Re: issue with Javascript Fetch call Gaurav-Behl - Adobe Experience Manager
Most likely an issue with the plugin that you're using. Try npm route if gcc doesn't workCheck - Add missing semicolons to avoid minification issues · Issue #420 · github/fetch · GitHub fetch-min - npm
1237
Views
0
Likes
0
Replies