bilal_ahmad
Community profile bilal_ahmad Level 4
Sr Software Development Engineer
Pune, India
22 BADGES
Level 4

Level 4

Learn more
Joined the community 25-09-2017 5:57:14 AM
Offline
Top badges earned by bilal_ahmad
Customize the badges you want to showcase on your profile
Re: /oak:index for search component
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @manikanthar1295 ,When you fire a query to search content, copy that query and paste it in Query Performance Tool(/libs/granite/operations/content/diagnosistools/queryPerformance.html) and find out if any index has been used or not. If yes, then you probably need to add the path(if that's inside /content/yourProject) in included path and if you're searching for any specific property, you should add that too. If you happen to see that your query is a traversal query and not using any index, c...

Views

95

Likes

0

Replies

0
Re: Getting error " Unable to fetch data Source" while setting up data model integration in AEM Forms
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
I used the driver version 8.0.25(latest) with AEM6.5.8 but it didn't work. I was wondering why then I switched my driver to 8.0.12 and it worked! eventually, I found your comment/suggestion to use 8.0.12. Thanks anyway 🙂

Views

195

Likes

0

Replies

0
Re: abort processing of the request
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @anelem1760873 you can write something this sort in the doFilter() method:if (resource.getPath().startsWith("/content/pathToBlock/")) { if ()) { } else { slingResponse.sendError(HttpServletResponse.SC_NOT_FOUND); } return; }Thanks,Bilal.

Views

128

Likes

2

Replies

0
Hey , As far as I understood you have two tenants under...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @hinajain29 ,As far as I understood you have two tenants under /conf/global i.e. /conf/global/tenant-a and /conf/global/tenant-b.My first question would be : how did you get the two tenants inside the /conf/gobal ? if you have moved them manually from crx/de then if you go to create a content fragment model at /conf/global/tenant-a location, then as soon as your model is created it'll be moved under /conf/global(I don't know the reason, but this happens).Solution: I don't know how feasible i...

Views

183

Like

1

Replies

0
Re: Update AEM Page Properties in bulk
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @Anantha, few suggestions:1. If your pages have same sling:resourceTtpe i.e they use same page templates, then you can leverage OOTB bulk edit: 2. Use Groovycripts to update the properties. For that you need to first write a query that will find out all your relevant pages(keeping page template or any other property(ies)) in mind. You need to be careful if you have excluded any path(s) in your custom index definition(oak:index) because sometimes we don't want certain page(s) or path(s) to sh...

Views

106

Like

1

Replies

0
Re: [CQ5] - Publisher enviornment is having stale/old con...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @niks1 for pages that got published on/after 1'Oct 2020 you can replace the existing query in the snippet I provided with this: SELECT * FROM [cq:Page] AS page WHERE ISDESCENDANTNODE ([/content]) AND page.[cq:lastReplicated] >= CAST("2020-10-01T00:00:00.000+05:30" AS DATE) ORDER BY page.[cq:lastReplicated] DESC It worked for me. Thanks,Bilal.

Views

107

Likes

0

Replies

0
Re: facet search results in query builder coming null wit...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @maheshbabuvoma can you please the piece of code(java) you're using to fetch the results ? I bet the issue is in your java code. Thanks,Bilal.

Views

163

Like

1

Replies

1
Re: Component not loading in side panel in Touch Ui
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @anupam_miglani as my fellow friend @ArpitVarshney suggested, take a look if you have any custom index definition. If so, try removing it from the package and install the package again into the prod. Custom index had messed up my instance when I did the same exercise couple months ago and I was baffled as in what exactly happened.Second: please take a look at your policy if that's not being affected. Thanks,Bilal.

Views

139

Like

1

Replies

0
Re: Akamai response validate steps
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @mohanasundaramp if you're getting this response from Akamai then that means your URI cache has been purged. You must be sending an INVALIDATE/DELETE request to Akamai using their Fast Purge V3 API. Coming to validating whether cache for those path(s) was cleared, you can turn off the cache purge agent(or whatever way you are sending the request to Akamai, may be while externalizing the URIs, you can mess with the externalizer.PPUBLISH confiuration or just mess temporarily with your API toke...

Views

131

Like

1

Replies

0
Re: [CQ5] - Publisher enviornment is having stale/old con...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
hey @niks1 CQ5 and AEM are the same things. Just that before Adobe procured Communique back in 2010, it was knows as CQ5, post procurement it was called Adobe Experience Manager.Also, the content should/must get replicated to your publishers. Please take a look at your replication agent(s) if they are working fine(you can hit 'test' and it'd let you know).I'm sharing a sample script with you, you should modify it based on your requirements and then package creation through the script will be sup...

Views

171

Likes

0

Replies

0
Re: [CQ5] - Publisher enviornment is having stale/old con...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @niks1 you need to republish that content(if you know the pages/paths/assets) again. If you don't know the exact path(s) then you may need to run query to figure out the content (cq:Page/dam:Asset etc) which got added/modified and ten create a package using the same script(from groovyscript) and then getting it installed on publish server. I have not mentioned replicating those pages through programmatically replicating them because if the number of paths are way too many then it might slow ...

Views

203

Like

1

Replies

4
Re: German umlauts rendering as ?'s (AEM 6.4.5)
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Your signature at the end cracked me up @Jörg_Hoh 😄

Views

157

Likes

0

Replies

0
Re: AEM instance corrupted on startup
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @lwang,Are you migrating from old AEM version to new one? Also, please let me know if I've understood incorrectly here:--> when you have a fresh instance(just after you unpack the jar) things work quite well.--> as soon as you install some packages and the the issue starts to happen(after you shut down the instance and restart)Is there is a possibility that you have custom oak:index definitions in your package? if that's the case please remove those paths(custom index definitions) from filte...

Views

151

Like

1

Replies

0
Re: On using AWSSDK some dependencies are not resolved
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @shya try replacing :importwithprovided Thanks,Bilal.

Views

153

Like

1

Replies

0
Re: Specific Rendition generation for a specific folder
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @Rohit2 you need to :Either modify the DAM Update Asset workflow or Create a custom workflow model that would look similar to the former one but has your customizations(recommended)create a launcher and trigger it based on your conditions.Now coming to the implementation:Creation of customized workflow model to generate 1. only jpg rendition : modify this according to your need in your workflow model(take help from OOTB workflow and customize accordingly): 2. generate above renditions for on...

Views

172

Like

1

Replies

1
Re: querybuilder basic question
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @TB3dock, first login using this URL: http://localhost:4502/crx/explorer/index.jsp and then click on 'Node Type Administration', that will take you to the place you wanted. Thanks!Bilal.

Views

153

Likes

0

Replies

0
Re: AEM | Cloud Manager | Java 11 Build issues
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @NehaCMS you can either try this: org.apache.maven.plugins maven-surefire-plugin 2.22.2 true oradd -DskipTests while building the project using maven. If running the jUnit test are necessary, I'd want to know what package are you using ? is it import org.junit.Test; or import org.junit.jupiter.api.Test; if the earlier one, try replacing it with the latter. Thanks,Bilal.

Views

154

Likes

0

Replies

0
Re: querybuilder basic question
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @TB3dock,The query(xpath) you shared is : //element(*, cq:Page)order by jcr:content/@cq:lastModified you are actually searching at the root level, i.e / the results it has returned are 7665 in my case. also It has displayed/presented only 10 results to you(rest are there in hits count). Add this - p.limit=-1 and you'll be able to see al the results on the same page:now to your questions:Q1. None of the results are actually pages from the site? The site we have locally is the wknd starter sit...

Views

177

Like

1

Replies

2
Re: fulltext in query doesn't work for partial search term
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @salamswapnil The results you are getting are just right, as you're making use of fulltext search. You can create synonyms(a text file) and then based on your search text(like Ind = you'd expect to fetch it the result for India). Nicely explained by @Albin_Issac on his blog: https://medium.com/tech-learnings/how-to-enable-search-synonyms-in-aem-with-lucene-ccb780375eb4 Hope this would help! Thanks,Bilal.

Views

165

Like

1

Replies

0
Re: Concurrent writing to the session.
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @chandramohanred you can get an idea from this post: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/unexpected-concurrency-warning/qaq-p/213079 Thanks,Bilal.

Views

145

Like

1

Replies

0
Re: AEM | Cloud Manager | Java 11 Build issues
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @NehaCMS , first off you need to get rid of all the SCR annotations and replace them with OSGi R6/R7 annotations. Post that your build will probably not fail. Reference : https://helpx.adobe.com/in/experience-manager/kb/cloud-manager-build-on-java11-aem.html Thanks,Bilal.

Views

178

Like

1

Replies

2
Re: Setting meta properties in a page dynamically based o...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
   

Views

174

Like

1

Replies

0
Re: Configuration missing on Live Copy tab of page proper...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @salamswapnil, As my friend @asutosh_jena said, the Configuration section is being inherited from /libs/wcm/foundation/components/basicpage/v1/basicpage/tabs/livecopy/items/column/items/configuration. Please take a look at your page component dialog's inheritance if that has been overridden and the structure is exactly same in your local+prod as well? Thanks, Bilal

Views

183

Likes

0

Replies

0
Re: Configuration missing on Live Copy tab of page proper...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @salamswapnil please verify that on non-prod & prod, you have this node present at jcr:content level: this happens when you inherit the LiveSyncConfig from the parent. Thanks,Bilal.

Views

199

Likes

2

Replies

2
Re: Migration from version 6.1 to 6.5
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @Ankita_Aggarwal, you actually don't need to create pages from scratch. Once your editable templates are in the right place, you'll need to 're-organize' the content. Not recreate.

Views

135

Likes

0

Replies

0
Re: Migration from version 6.1 to 6.5
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hi @Ankita_Aggarwal great that you have converted the components(I'm assuming that you've converted the components from using coral2 to coral3) but that's not the area of concern here. You need to convert the static templates to the editable ones(by carefully creating the new structure which we're supposed to have in order to use the dynamic/editable templates). This step is going to take time and need your utmost attention because when we use static templates, we use /etc/designs to store the c...

Views

149

Like

1

Replies

2
Re: Issue with configuring solr dependencies with bnd plu...
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @bartek887 try adding this in your bundle pom.xml : bnd-process bnd-process -conditionalpackage: org.apache.zookeeper.* .. .. I hope this helps 🙂Thanks,Bilal.

Views

210

Like

1

Replies

1
Re: How can I create a background job in AEM as a Cloud?
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @watopin try this:import org.osgi.service.component.annotations.Component; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Component(service = Runnable.class, property = { "scheduler.expression=0 30 * * * ?" }) public class Myjob implements Runnable { private final Logger logger = LoggerFactory.getLogger(this.getClass()); @Override public void run() { logger.info("this message is from myjob"); } } Thanks,Bilal.

Views

174

Like

1

Replies

0
Re: GraphQL Client
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @sreedobe add the dependencies in your budle pom.xml and parent pom.xml. Also add this in your bundle pom.xml in the configuration: -conditional package: com.adobe.commerce.cif .. .. I hope this works out for you!Thanks,Bilal.

Views

151

Like

1

Replies

0
Re: Loading issues with classic ui pages
Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
- Adobe Experience Manager
Hey @aemninja please try restarting the instance. Also please let me know if you're seeing this in your error log:23.09.2020 13:18:04.359 *ERROR* [Background Update org.apache.sling.scripting.sightly (558)] org.apache.sling.scripting.sightly bundle org.apache.sling.scripting.sightly:1.1.2.1_4_0 (558)[org.apache.sling.scripting.sightly.impl.engine.ExtensionRegistryService(4087)] : Error during instantiation of the implementation object (java.lang.NoClassDefFoundError: jdk/internal/reflect/Constru...

Views

151

Like

1

Replies

1