since ‎19-01-2016
‎06-09-2020
Gaurav-Behl
MVP
Re: can't log in to local host Gaurav-Behl - Adobe Experience Manager
check if this helps - AEM 6.3 author instance returns 403 for clientlibs and j_security_check
9835
Views
0
Likes
0
Replies
Re: Error While Creating an Adobe Experience Manager 6.4 Project using Adobe Maven Archetype 13 Gaurav-Behl - Adobe Experience Manager
Could not transfer artifact org.apache.maven.plugins:maven-archetype-plugin:pom:2.4 from/to adobe (https://repo.adobe.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]Check if you're able to access "https://repo.adobe.com/nexus/content/groups/public" ​via browser? If yes, then fix your cacerts- download the repo...
652
Views
0
Likes
0
Answers
Re: Exporting Experience Fragment as plain html to Adobe Target Gaurav-Behl - Adobe Experience Manager
Did you try Plain HTML rendition - Experience Fragments?
1142
Views
0
Likes
0
Answers
Re: How to run a function after entire page is loaded in AEM Gaurav-Behl - Adobe Experience Manager
Check for DOM load - https://coderwall.com/p/_jothq/jquery-when-to-use-document-ready-and-when-window-load Page: DOMContentLoaded, load, beforeunload, unload
708
Views
0
Likes
0
Answers
Re: AEM6.4 - Execute Event Handler on Activation workflow Gaurav-Behl - Adobe Experience Manager
Did you get a chance to check ACS AEM Samples - Sling Event HandlerSling Event Handler (with Immediate Job Execution)You may swap SCR annotations with OSGI annotations. Refer - Re: Difference between SCR as well as R6 Annotation​ for examples
5722
Views
0
Likes
0
Replies
Re: Sending Request to Dispatcher not Publish Gaurav-Behl - Adobe Experience Manager
Use case #1 is not an issue as you mentioned because it picks up the cached content from dispatcher, however, the hostname and port# in dispatcher.any file should be of the "publish server" that is supposed to serve the content to dispatcher and not apache server's.You have configured 'statfileslevel' to 5 which I assume is intentional based on your app architecture/design.When I will change my page in author http://localhost/content/trainingproject/en.html and activate the page then the updated...
997
Views
0
Likes
0
Answers
Re: How to customize Create Collection Wizard Gaurav-Behl - Adobe Experience Manager
Did you apply the modified metadata schema to that specific collections folder via "Apply to Folders"? In addition to that, check if the triggered POST call includes your custom fields - open Developer toolbar via F12 or Ctrl+Shift+I > Click on Network tab > XHR tab, check the POST call to /content/dam.html and validate its form dataRefer: Metadata Schemas
762
Views
0
Likes
0
Answers
Re: SlingHttpServletRequest request is null in slingmodel Gaurav-Behl - Adobe Experience Manager
Check if ResourceWrapper (Apache Sling (Builder) 6 API) or acs-aem-samples/SampleResourceWrapper.java at master · Adobe-Consulting-Services/acs-aem-samples · GitHub works for your use case?
1265
Views
0
Likes
0
Answers
Re: Published Content Fragment Model not available while creating Content Fragment in 6.5 Gaurav-Behl - Adobe Experience Manager
After clicking the publish button, I got notification "INFOModel xyzFragment scheduled for publishing." I don't know were to see the status of the publish action. If any one know please guide me.(question 1)Check the replication queue status or the relevant properties in /crx/de, I don't think there is any dashboard for same In an assumption its published, I have proceeded to create the "Content Fragment" under Assets>Files>Create -> Content Fragment. But I could see only "Simple Fragment" liste...
735
Views
1
Like
0
Answers
Re: AEM SPA - Angular - Edit Template not redirecting correctly - WKND Events Gaurav-Behl - Adobe Experience Manager
The error indicates that the defined routes does not match with the page url. Compare your main.js with the one provided in shared package.Focus on the routing code in main.js (or refer Chapter-2😞 function AemPageMatcher(url) { var path = url.join('/'); if (path.startsWith('content/wknd-events/angular/')) { return ({ consumed: url, posParams: { path: url[url.length - 1] } }); }}var AemPageDataResolver = /** @class */ (function () { function AemPageDataResolver() { } AemPageDataResolver.prototyp...
593
Views
0
Likes
0
Answers
Re: Difference between SCR as well as R6 Annotation. Gaurav-Behl - Adobe Experience Manager
OSGI DS annotations are recommended over SCR annotations starting 6.2+Refer: Official OSGi Declarative Services Annotations in AEM - Adobe Experience Manager | AEM/CQ | Apache Sling AEM Developer Learning : Migration of SCR annotations to OSGi R6 annotations in AEM 6.3 Using OSGi R6 annotations (>= AEM6.2) - Experience Delivers
1145
Views
2
Likes
0
Answers
Re: How to hide html tag in Email template? Gaurav-Behl - Adobe Experience Manager
As mentioned by Himanshu/Arun, this is not supported OOB but you can still use any template engine (client/server side) like Velocity/Handlebars/Mustache etc. and get the results. You may also try for a PostProcessor if your use case requires it.
1008
Views
2
Likes
0
Answers
Re: Sending Request to Dispatcher not Publish Gaurav-Behl - Adobe Experience Manager
Could you please explain your use case in detail? Why would you connect both author and publish in same dispatcher.any file?
868
Views
0
Likes
0
Answers
Re: How to debug JSPs in an AEM custom errorhandler? Gaurav-Behl - Adobe Experience Manager
You can write log statements or Sysouts or even add breakpoints like you'd in a normal java classHTH
1560
Views
1
Like
0
Answers
Re: Image resize not working in Chrome Browser for RTE Gaurav-Behl - Adobe Experience Manager
I'm not able to understand why would you want to resize the image for author manually and not apply a css class/style system to resize the image for presentation/rendering HTML?
1535
Views
0
Likes
0
Replies
Re: Domain URL's Gaurav-Behl - Adobe Experience Manager
You might need to share more details around this.The redirection can be done before dispatcher layer, in apache layer or in AEM layer based on your existing setup/architecture. Probably I'm not able to understand your concerns around it.
2057
Views
0
Likes
0
Replies
Re: Package Installation issue Gaurav-Behl - Adobe Experience Manager
The package might have already been installed/errored out. Check console logs/error.log for more detailsAlternatively, try this How to install CRX packages automatically on server startup
5321
Views
1
Like
0
Replies
Re: AEM 6.5 crx explorer giving 500 error Gaurav-Behl - Adobe Experience Manager
what version of JRE do you use? Make sure that it is supported: Technical Requirements
4480
Views
0
Likes
1
Replies
Re: How to access an OSGI service from a servlet? Gaurav-Behl - Adobe Experience Manager
It seems that you want to use R4 for this implementation..Did you try using @Reference annotation in servlet? @Referenceprivate MyService myService;Add immediate=true in service@Component(metatype = true, label = "My Service Implementation", immediate=true) you may not need the following lines unless you have a specific requirement: @Resource(name="BundleContext") private BundleContext context; ServiceReference reference = context.getServiceReference(MyService.class.getName()); MyService service...
3232
Views
1
Like
1
Replies
Re: Read the Node data in json format Gaurav-Behl - Adobe Experience Manager
Did you get a chance to go through Assets HTTP API or Content Fragments Support in AEM Assets HTTP API since your requirements use DAM path?You could even use custom exporter based on the complexity of your use case.
559
Views
1
Like
0
Answers
Re: Bulk import of users into AEM Gaurav-Behl - Adobe Experience Manager
Refer Re: Import users from excel or csv file in AEM
793
Views
0
Likes
0
Answers
Re: Create System User Gaurav-Behl - Adobe Experience Manager
Validate that you're following the steps mentioned in this article: http://www.aemcq5tutorials.com/tutorials/create-system-user-in-aem/
584
Views
0
Likes
0
Answers
Re: ACS AEM CSV Asset Importer local to remote server Gaurav-Behl - Adobe Experience Manager Assets
I couldn't locate this exception in the source code @ acs-aem-tools/CsvAssetImporterServlet.java at master · Adobe-Consulting-Services/acs-aem-tools · GitHub Probably best bet would be to enable logs on "com.adobe.acs.tools" or debug this java codeEven there is a similar/open issue - CSV asset importer issue for AEM 6.3 · Issue #195 · Adobe-Consulting-Services/acs-aem-tools · GitHub Alternatively, you may try AEM Desktop App/Remote sync utilities for same Try - Remote Assets
1311
Views
0
Likes
0
Answers
Re: Can I cache 404s on Dispatcher? Gaurav-Behl - Adobe Experience Manager
As a temporary solution till the time you get a patch from Support, you could set the response status 200 in 404.jsp and then the contents of 404.jsp would get served as 200 and hence get cached in dispatcher.Just make sure to evaulate the pros/cons of this approach.
1024
Views
0
Likes
0
Answers
Re: Can the Style System be used with React Components? Gaurav-Behl - Adobe Experience Manager
Per my knowledge, a better design would be to manage the style-design options in React app itself rather than managing it in AEM via style-system
840
Views
0
Likes
0
Answers
Re: Disable/remove delete copy and paste options from edit toolbar Gaurav-Behl - Adobe Experience Manager
Try this - How To Prevent Authors From Deleting a Child Component | Perficient Digital
857
Views
1
Like
0
Answers
Re: what we use for filters instead of web.xml Gaurav-Behl - Adobe Experience Manager
request path pattern
2930
Views
0
Likes
0
Replies
Re: How can AEM add hostnames? Gaurav-Behl - Adobe Experience Manager
The path doesn't need to be hardcoded and instead it can be dynamic or a configuration or other ways.Per my knowledge, for this use case, Sling is behaving as it should to resolve the urls based on custom configurations. It all depends on ranking/execution of services.I would let other folks to recommend solution(s).
1918
Views
0
Likes
0
Replies
Re: what we use for filters instead of web.xml Gaurav-Behl - Adobe Experience Manager
Path based servlets are not recommended, use resourcetype for the servlet and a pattern for fliterApache Sling :: Servlets and Scripts Apache Sling :: Servlet Filter Support
2930
Views
1
Like
2
Replies
Re: How can AEM add hostnames? Gaurav-Behl - Adobe Experience Manager
As mentioned above in the second solution, use '/domain_com/en-us/...' as the relative url in your jsp/htl script rather than '/en_us/...', that should fix your issue.
10350
Views
0
Likes
2
Replies