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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Shehjadkhan
Shehjadkhan
Offline

Badges

Badges
21

Accepted Solutions

Accepted Solutions
3

Likes Received

Likes Received
10

Posts

Posts
72

Discussions

Discussions
7

Questions

Questions
65

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Shehjadkhan
Customize the badges you want to showcase on your profile
Re: template.getName() not working on publish env - Adobe Experience Manager 08-02-2016
Thanks for your reply, I can't thinking anything else will go with the string split option

Views

554

Likes

0

Replies

0
Re: Page activation activating nt:unstructured node not under jcr:content - Adobe Experience Manager 14-01-2016
Thank you everyone I understand what you are saying, have changed the implementation to store nodes not under the node.

Views

567

Likes

0

Replies

0
Re: Get resource path from full url - Adobe Experience Manager 28-11-2015
I have changed code to below to make it work.final String gotoPath = xssApi.filterHTML(request.getParameter(gotoParam)); final URI gotoUri = new URI(gotoPath, false); if (StringUtils.isNotEmpty(gotoPath)) { final Resource gotoPathResource = request.getResourceResolver().resolve(gotoUri.getPath()); if (null != gotoPathResource && null != gotoPathResource.adaptTo(Page.class)) { response.sendRedirect(gotoPath); return; } } redirect(request, response, redirectPath);

Views

1.0K

Likes

0

Replies

0
Re: Session Exception while using rollout - Adobe Experience Manager 05-11-2015
session state you would have got when getting resolver might have been stale by the time you are saving. It happens sometime when you are saving node in the Oak. So always its better to do session.refresh() and then save()

Views

412

Likes

0

Replies

0
Language manager API not picking de and fr as language root page - Adobe Experience Manager 15-10-2015
Hi All,I require to find root of my site for which is my language page. For that I am using language manager API provided by AEM. Very weirdly it does not picks node name with de and fr as language root. But if i change the language node from de to de_DE and fr to fr_FR it start picking that as language root. Also it works perfectly fine for en node, does not require me to rename node like en_US.I have referred to http://docs.adobe.com/docs/en/cq/5-6-1/administering/multi_site_manager.html#Chang...

Views

213

Likes

0

Replies

0
Re: How to get suffix on click of sidekick button - Adobe Experience Manager 15-10-2015
Its all playing with JS. You can manipulated alot with JS, if you are hitting at right area.1st Part ...CQ.WCM.getPagePath(); will give you current page pathGet the last part the page like this...x = "/a/b/c/d";y = x.substring(x.lastIndexOf("/");y will be "/b" which in you case will be item code.2nd partYou can sent a GET request to /etc/map/http.1.json to get json response.Thats it...Pass the full path which you want to give as a hyperlink to CQ.shared.Util.open(url);Refer to the above shared a...

Views

158

Likes

0

Replies

0
Re: How to get resource resolver in replication preprocessor - Adobe Experience Manager 15-10-2015
Hey Praveen,Thank you I was missing the felix configuration. I am using AEM 6.0 Sp2.Thanks again for your quick and accurate reply.Regards,Shehjad

Views

242

Likes

0

Replies

0
How to modify the existing query object to add more predicates, which I have loaded from store path - Adobe Experience Cloud 15-10-2015
Hi All,In my application I have created a custom component something similar to list component where I allow authors to add a query builder syntax query and pull result on basis of it. I am taking this whole query from my dialog and then loading this query using below code. query = queryBuilder.loadQuery(getCurrentResource().getPath() + "/" + "customQuery", session);The above code works perfectly fine, but now I want to enhance my component filter the result on the basis of page property tags al...

Views

256

Likes

0

Replies

0
How to modify the existing query object to add more predicates, which I have loaded from store path - Adobe Experience Manager 15-10-2015
Hi All,In my application I have created a custom component something similar to list component where I allow authors to add a query builder syntax query and pull result on basis of it. I am taking this whole query from my dialog and then loading this query using below code. query = queryBuilder.loadQuery(getCurrentResource().getPath() + "/" + "customQuery", session);The above code works perfectly fine, but now I want to enhance my component filter the result on the basis of page property tags al...

Views

218

Likes

0

Replies

0
Re: Querybuilder Search not able to find nested component - Adobe Experience Manager 15-10-2015
Hello,Above three parameters are used for generic search but p.hits or p.nodedepth are specific to when you perform search based on property. So to work with above query you should be describing property for example (from above use case) where you can replace fulltext to property specific and do the searchpath=/contenttype=cq:Pageproperty=jcr:titleproperty.value=testTextp.hits=fullp.nodedepth=5 Thanks,Pawan

Views

424

Likes

0

Replies

0
Likes from