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

AnkitCh
AnkitCh
Offline

Badges

Badges
14

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
7

Posts & Comments

Posts & Comments
41

Discussions

Discussions
0

Questions

Questions
17

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by AnkitCh
Customize the badges you want to showcase on your profile
fetching properties of OSGi service in java class - Adobe Experience Manager 15-10-2015
Hi,I have created a node of type sling:OsgiConfig and have inserted a property 'propertyPath' which is of type String[]. I can access this in my component JSP using:Configuration conf = sling.getService(org.osgi.service.cm.ConfigurationAdmin.class).getConfiguration("Name of the config"); String[] myProp = (String[]) conf.getProperties().get("propertyPath");How can I do the same in a java class. I want to make a method in java class that I would call from my JSP. I am doing this using taglib. How...

Views

700

Likes

0

Replies

1
Re: QueryBuilder or fetching the pages and then Iterating - Adobe Experience Manager 15-10-2015
Thanks for the reply Anwar. Looks like this should help.

Views

589

Likes

0

Replies

0
Re: QueryBuilder or fetching the pages and then Iterating - Adobe Experience Manager 15-10-2015
Hi Anwar,Thank you for your response. I would also like to let you know that it is possible that the author may not select that custom page property on article page. So, the logic has to be something like check for all the pages that have the custom page property selected by author and then sort it as per replicated date and then return the one with the latest replicated date. In case the user has not selected the custom page property on any of the pages we need to return the page with latest re...

Views

589

Likes

0

Replies

0
QueryBuilder or fetching the pages and then Iterating - Adobe Experience Manager 15-10-2015
Hi,I have a requirement wherein I need to search for article pages of a specific type under 6 different paths. The pages belonging to 6 different paths are of same type in a way that they are using same template. Their respective parent pages are also using the same template but they differ based on specific custom page property that we are setting. The detailed pages are further characterized by custom page properties. So based on these custom page properties and latest replication date I have ...

Views

884

Likes

0

Replies

4
Re: sort pages by cq:lastReplicated - Adobe Experience Manager 15-10-2015
Thank you for your inputs Justin, I had thought of this option earlier but did not look much further into this since I was not sure how to write a comparator for this. So was looking for something CQ specific if it has any. However, do you have any pointers on the first point ?Ankit

Views

622

Likes

0

Replies

0
Re: sort pages by cq:lastReplicated - Adobe Experience Manager 15-10-2015
Hi Jitendra,Thank you for your inputs.1) I want to fetch the pages based on three properties as well. cq:template, a custom page property and offTime.2) How do I just sort a list if I already have a list of cq:pages and all I am looking for is just the sorting part.Thanks in advance,Ankit

Views

630

Likes

0

Replies

0
sort pages by cq:lastReplicated - Adobe Experience Manager 15-10-2015
Hi All,I am using cq 5.6.1 and I need to sort a list of cq:Page by cq:lastReplicated date property. I want to know whats the best possible way. Also, I need to do this sorting in java class.Thanks in advance,Ankit

Views

1.3K

Likes

0

Replies

5
Re: Creating multidomain CQ mapping - Adobe Experience Manager 15-10-2015
Yes Sham the requirement is that I am trying to map www.mercer.com to /content/mercer/en. Once this is confirmed I will create rest of the mappings. Let me know if this is ok.

Views

738

Like

1

Replies

0
Re: Creating multidomain CQ mapping - Adobe Experience Manager 15-10-2015
Thanks Sham. I have kept the file at https://sendnow.acrobat.com/?i=Ul7zg4ps0coJyUCodjsAYA

Views

734

Like

1

Replies

0
Re: Creating multidomain CQ mapping - Adobe Experience Manager 15-10-2015
It's not letting me attach the zip package file. However, let me iterate the requirement. So, inside the /content/mercer folder we have multiple language folders like en, fr, de etc. What I am looking for is, to map insights.mercer.com/en to content/mercer/en and insights.mercer.com/fr to content/mercer/fr and so on. How do I achieve this ?Thanks,Ankit

Views

736

Likes

0

Replies

0