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
Yes that give me long path like cq:templateString/apps/mysite/templates/default-page Even though I can get the last element after last "/". But wanted to know if there is better way.

Views

547

Likes

0

Replies

0
template.getName() not working on publish env - Adobe Experience Manager 08-02-2016
Hi All,I want to output template name as a css class on body tag of my page. In body.jsp we have done this, which works on author env but does not work on publish env? Is it because template resource is not available in publish env. Is there a simple way to fix it? edit"

Views

997

Likes

0

Replies

4
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: Page activation activating nt:unstructured node not under jcr:content - Adobe Experience Manager 13-01-2016
Hi Jintendra and Lee,Thank you for replies, I am aware of replication option at the node level. But that is not the problem I am trying to solve, issue is I want to keep some data under a page outside jcr:content that does not get replicated on page activation. I am replicating them using some other custom code on the basis of use cases.Thanks!Shehjad

Views

558

Likes

0

Replies

0
Page activation activating nt:unstructured node not under jcr:content - Adobe Experience Manager 12-01-2016
Hi All,Currently I am having issue, when I activate a page say test.html a node under test page is also getting replicated. So node path /test/unWantedNodeReplication while I was expecting only node under /test/jcr:content/ should be replicated. Is this is a product bug?I am using AEM 6.0 SP2. Thanks!Shehjad

Views

998

Likes

0

Replies

9
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: Get resource path from full url - Adobe Experience Manager 28-11-2015
Asling Thanks for your reply, yes i understand i can do some string manipulation but I don't find that be a elegant way Yes we have mapping to map short urls as you mentioned in your comment

Views

973

Likes

0

Replies

0
Get resource path from full url - Adobe Experience Manager 28-11-2015
Hi All,I am implementing login component in which I want to support goto parameter for examplehttps://myDomain/login.html?goto=https://myDomain/securePage.html.I am able to get the redirect path in my servlet from the query parameter but from query parameter how do i get the resource path? I was hoping resolve method might come handy but it does not seem to work :(. Anything more elegant that string manipulation to solve this problem?final String gotoPath = xssApi.filterHTML(request.getParameter...

Views

1.8K

Likes

0

Replies

3
Session Exception while using rollout - Adobe Experience Manager 05-11-2015
Hi All,I have requirement to use a master page template which would create around 100 to 1000 pages, as per the requirement I have made master page as rollout blueprint. Using java code I am creating 1000 pages depending on data I receive from a 3rd party feed and tying them to blueprint. After creating these pages whenever author want to edit the pages they are suppose to go to master page template and add any component and use normal rollout button present on page property. This approach seems...

Views

756

Likes

0

Replies

1
Re: How to browse nt:unstructured node in a path field - Adobe Experience Manager 04-11-2015
Hi All,I was able to solve this problem by adding below property on pathfield xtype, which allowed me to browse nt:unstructured node predicateStringnosystem

Views

604

Likes

0

Replies

1
Likes from