Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

snbaem
Community profile snbaem Level 5
Job title here
Location here
25 BADGES
Level 5

Level 5

Learn more
Joined the community 05-08-2014 12:39:47 PM
Offline
Top badges earned by snbaem
Customize the badges you want to showcase on your profile
Re: Service unsatisfied
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
This looks like an issue with custom code with class AssetsReportServiceImpl. Can you add a code snippet for the service annotations that you have used? //Eg @Component(service = CustomService.class) public class CustomServiceImpl implements CustomService

Views

71

Like

1

Replies

2
Re: Extending AbstractSocialComponentFactory for AEM 6.5...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Above mentioned is the complete class. All logic happens in CustomCommunityComponent class which just overrides one of the methods to update the output

Views

51

Likes

0

Replies

0
Re: Extending AbstractSocialComponentFactory for AEM 6.5...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Thank you. This did help get to the Custom Social Factory. However still the component fails since he value of clientUtilities in SocialComponentFactory is null. I will probably add another question for this with details. Not sure if having R6 annotations for extended components work where the OOTB classes are not using them yet. Please feel free to comment on this.

Views

73

Likes

0

Replies

0
Extending AbstractSocialComponentFactory for AEM 6.5 with R6 annotations
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hello All,As part of upgrade from AEM 6.2 to AEM 6.5, I am looking to find a correct way to extend the AbstractSocialComponentFactory This is an example - https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-extension/blob/master/bundles/aem-scf-extensions/src/main/java/com/adobe/aem/scf/extensions/IdeaSocialComponentFactory.java similar to which we have our custom implementation working for AEM 6.2. We are also using org.apache.felix.scr.annotations.Component; annotations in 6.2 H...

Views

115

Like

1

Replies

5
Re: best way to implement env vars or similar?
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
I am not sure but its not necessary to write a service every time you need this. Wherever you need the full env url for say local, author or public facing VIP, the two lines of code added will suffice. Eg if you need it in a Sightly Model or Servlet or Scheduler, Filter so on.. See this if it helps - https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/externalizer.html?lang=en#using-the-externalizer-service

Views

231

Like

1

Replies

0
Re: best way to implement env vars or similar?
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@TB3dock If you are looking to use a place to configure the VIP url try this - com.day.cq.commons.impl.ExternalizerImplYou could add config xml files for each environment so that the code deployment handles this You could doExternalizer externalizer = resolver.adaptTo(Externalizer.class); String url = externalizer.publishLink(resolver, UrlConstants.HTTP_PROTOCOL, "somepathorslash");

Views

280

Like

1

Replies

4
Re: Wrong Query happened for particular asset 11 times
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@SreeDurga It looks like the error/warning is associated to a particular asset only. It will help to see the query that was used. However can you try to see1. if there is a scope to do escaping in query or2. try to make same query using AEM query builder (assuming current query is happening via code)

Views

67

Like

1

Replies

0
Re: Removing JS from html file
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@JakeCham Looks like the desired js is loaded on the page but desired logic is not called for each component just the top one. It could be that the logic depends on particular id or class and is not invoked for other components. A look into the code or a similar example will help.If something needs to happen to the component on page load, it should be able to pick desired attribute and perform the action

Views

67

Like

1

Replies

0
Re: Setting meta properties in a page dynamically based o...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@RejithaRaj Usage of filter can be explored here. However there could be performance issues.

Views

107

Like

1

Replies

0
Re: LDAP Integration with AEM 6.5, I am facing issue whil...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@adithyaa4585051 Please check this if it helps https://aemsigma.blogspot.com/2019/06/how-to-synchronize-aem-with-ldap-users.html

Views

91

Like

1

Replies

0
Re: Could not resolve dependencies for project - Failure...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
See this note too: UberJar and the other related artifacts are available on Maven Central Repository instead of Adobe Public Maven repository (repo.adobe.com). The main UberJar file is renamed to uber-jar-.jar. So, there is no classifier, with apis as the value, for the dependency tag.

Views

165

Likes

0

Replies

0
Re: Can I have 2 clientlibs with the same category ?
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Ok I found https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/categories-unique-across-projects/qaq-p/328688 where it is suggested that the clientlib category be unique otherwise they will be pulled regardless, which is what I said, they will be pulled wherever it is called. Hope this helps.

Views

152

Likes

0

Replies

0
Re: Can I have 2 clientlibs with the same category ?
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@fionas76543059 I think it should workI am not too sure of this though. We can find out by testing it though For eg: we can have three components A B C with clientlibs having same category name as 'a.b.c'. And the category 'a.b.c' is called in each component's HTL Now when component A is loaded we would expect this will also load the js and css included in component B and C. And so on. So if this helps some how it should be ok to use the approach I suppose. Sorry for not having a sure answer bu...

Views

156

Likes

3

Replies

2
Re: Could not resolve dependencies for project - Failure...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@RamireFer The repo seems to be up. Can you try to remove apis from the pom.xml (both) and try? See: https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/service-pack/sp-release-notes.html?lang=en#service-pack https://mvnrepository.com/artifact/com.adobe.aem/uber-jar/6.5.7 com.adobe.aem uber-jar 6.5.7 provided

Views

189

Like

1

Replies

2
Re: Moving to Cloud Manager deployment, should I get rid...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
@fionas76543059 I think you can dereference clientlibs pointing to /etc in your custom code. For removal the code should not have anything building from /etc/clientlibs and filter.xml if any can also control the restriction of etc/clientlibs and just have the clientlibs at /apps level. If the files are there under /etc/clientlibs I this it should be safe to package and remove manually. Other option to try is explore using filter.xml to replace everything from code to instance on deployment and k...

Views

105

Likes

2

Replies

0
Re: Number of occurrences or page paths AEM component has...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, You can try as below and export and sort by sling:resourceType to get usage for you component. May need to check the content Mode check box. Other option is to got to http://localhost:4502/libs/wcm/core/content/sites/components.html and search for the group and component you want. Then click on component and select live usage Hope this helps

Views

140

Like

1

Replies

1
Re: Call dispatcher API in service
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, Not sure if that is achievable since we would want the Akamai to communicate to dispatcher to get desired cache detail. It is probably better to clear dispatcher cache for all dispatchers (for the content in question) first and then the akamai cache. What is the idea behind knowing which dispatcher had a cache cleared?

Views

101

Like

1

Replies

0
Re: Trying using a Experience Fragment as Footer, but sho...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi,Can you explore around using (this was GSA search example which is not in use currently) or its equivalent for the search engine you are using?It should look something likemain.jsp include footer.jsp include

Views

181

Like

1

Replies

0
Re: Dispatcher cache - Backend forbids caching
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, It seems that cache control for the particular content area is set to private. Can you check in your aem code AND Dispatcher configs for 'Cache-Control “private”' ?

Views

167

Like

1

Replies

0
Re: which would be a better option
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, You can choose based on use case. If the property is something that is must have for most pages, you can have it available during page creation (and as required probably) so that its value is set when a page is created. The authors don't need to worry about opening dialog again. The equivalent to dialog submit validation might have to be found.If the property is an optional one, and needs to reside in a component dialog it can be chosen too, but its an add extra step for authors.

Views

193

Likes

2

Replies

0
Re: Getting "Invalid recursion selector value 'model' " e...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi,I am unable to open the first link, but based on the error it could be that the resourceType resolution is failing? eg pointing to a page instead of page/jcr:content

Views

213

Like

1

Replies

0
Re: What is the approach to pull data from the java class...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi,At the moment I can think of - Making an ajax call to servlet and doing the query over there (use service) and returning json object to populate the results through js. Each call will only get a set of results. On scroll the call is made again.The logic for query will be same as you would be doing already. Also suggest to use Sightly.

Views

191

Like

1

Replies

0
Re: Querybuiler is not giving correct result in publish i...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, Can you please provide the query that is used? I had noticed difference in results when looking with type cq:Page vs looking for jcr:content nodes of pages with given query criteria. May be this is similar issue:

Views

223

Like

1

Replies

1
Re: REST API - Map a Sling servlet to a path with a varia...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Yes it is possible, Adding to given solutions, we can also try to use GET call query params / POST call form parameters or selectorsi.e. '/api/v1/articles.json?id=id123' or ‘/api/v1/articles.id123.json' I think by using selector or suffix we can use caching but at same time will need to manage cache clear set up as required when any data changes (or just have ttl set). See https://sling.apache.org/apidocs/sling5/org/apache/sling/api/SlingHttpServletRequest.html#getRequestParameterMap() and https...

Views

225

Likes

2

Replies

0
Re: Custom Versioning on Asset
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hello, Can you please add some info/code snippet about the event listener code? I can think of a possibility that within the path that you have mentioned eg /content/dam/folder the change jcr:content of the particular asset would trigger the listener but if there is any property change in any other property within that or based on the type that is mentioned, it could still trigger event again. However, since you are looking to add a customVersion property for a change detected in publisher, you ...

Views

171

Like

1

Replies

0
Re: Find and Fix Broken Links in AEM
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Thanks, I should have stated about this. I thought this would have to be done in publishers and we will have to keep adding the new broken links and their replacements as we find them. Will think through this approach. Thanks.

Views

260

Likes

0

Replies

0
Find and Fix Broken Links in AEM
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hello All, Probably bringing back one of the previously asked questions about finding and fixing broken links in AEM. There are some discussions and solutions mentioned eg using groovy script (can't use this currently) and link checker (https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/broken-link-scan/qaq-p/220892) and some discussions about disabling link checker because of possible performance issues. I tried using the linkchecker tool in AEM 6.5 and it was showing a c...

Views

324

Like

1

Replies

4
Re: Creating a "polling service" in Java for AEM 6.5.6
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Hi, It seems Schedulers can do this, please check - https://medium.com/adobetech/aem-6-4-creating-a-scheduler-using-osgi-r6-annotations-4ad0b8c6fce7, it should work for AEM 6.5 too. This cron expression should work for you - 0 0/1 * 1/1 * ? * Hope this is what you were looking for. More - https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/org/apache/sling/commons/scheduler/Scheduler.htmlhttps://github.com/adobe/aem-project-archetype/blob/master/src/...

Views

210

Like

1

Replies

0
Re: What’s the overhead of getting a resource resolver in...
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Got you. Could there be a possibility of using user's request resolver if/where applicable? We don't have to close those. Getting curious too since using service resolvers at many places is common for me too 😄

Views

263

Likes

0

Replies

0
Re: Link rewrite service interfere with AEM forms
Avatar
Validate 25
Level 5
snbaem
Level 5

Likes

84 likes

Total Posts

206 posts

Correct Reply

26 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
snbaem
- Adobe Experience Manager
Can you please check and add some logs when AEM forms is loaded? (I think) All requests will go through the custom class, may be debugging through this class when the forms page is loaded might give some insight Thanks

Views

188

Like

1

Replies

0