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
  • 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[] my...

    Type

    Questions

    Views

    746

    Likes

    0

    Replies

    1
  • 15-10-2015
    Thanks for the reply Anwar. Looks like this should help.

    Type

    Questions

    Views

    698

    Likes

    0

    Replies

    0
  • 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 ...

    Type

    Questions

    Views

    698

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    993

    Likes

    0

    Replies

    4
  • 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

    Type

    Questions

    Views

    703

    Likes

    0

    Replies

    0
  • 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

    Type

    Questions

    Views

    711

    Likes

    0

    Replies

    0
  • 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

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    5
  • 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.

    Type

    Questions

    Views

    857

    Like

    1

    Replies

    0
  • 15-10-2015
    Thanks Sham. I have kept the file at https://sendnow.acrobat.com/?i=Ul7zg4ps0coJyUCodjsAYA

    Type

    Questions

    Views

    853

    Like

    1

    Replies

    0
  • 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/me...

    Type

    Questions

    Views

    855

    Likes

    0

    Replies

    0
Top badges earned by AnkitCh
Customize the badges you want to showcase on your profile