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

Yogesh_Upadhyay
Community profile Yogesh_Upadhyay Level 5
Job title here
Location here
17 BADGES
Level 5

Level 5

Learn more
Joined the community 08-08-2012 1:36:54 PM
Offline
Top badges earned by Yogesh_Upadhyay
Customize the badges you want to showcase on your profile
Re: How to make case in sensitive url in AEM 6.1
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
I think you can do this in apachehttps://www.a2hosting.com/kb/developer-corner/apache-web-server/using-the-mod-speling-apache-moduleOr you just to have to make sure that all resource path is in lower case and you can do http://stackoverflow.com/questions/2923658/convert-to-lowercase-in-a-mod-rewrite-ruleYogesh

Views

799

Likes

0

Replies

0
Re: After deploying bundle websites are not coming
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello,I have seen this issue in AEM6.1 with SP1 where bundle with SNAPSHOT version do not get updated after deploying code. This happens randomly. You might want to create DayCare ticket for this issue. As a workaround just restart "Jcr Installer" bundle or change your bundle version number and redeploy.Yogesh

Views

286

Likes

0

Replies

0
Re: Session handling across the nodes and web server
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Tuhin,Using server side session is not recommended in AEM, you can not cache pages and use proper load balancing if server side session is enabled. Would recommend to save this data to either client context or cookie or query param or Use some kind of session storage (couch base or something). Long run it will help you.Yogesh

Views

2.0K

Likes

0

Replies

2
Re: Multiple implementation of a Sling Service
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Jitendra,Just curious if this is what you actually want ? With service ranking, your other service will not get picked and it defeats purpose of design to interface.Yogesh

Views

458

Likes

0

Replies

0
Re: Move Component which are included in page?
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
As Every one mentioned you can not remove component included though cq:include however you can hide them using JS Or JSP based on certain condition.

Views

259

Likes

0

Replies

0
Re: How to acces annotation properties
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
You can also do something like@Activate protected void activate(final Map config) { String myvar = PropertiesUtil.toString(config.get(PROP_NAME),DEFAULT_VALUE); }

Views

218

Likes

0

Replies

0
Re: Persistance Error creating new Group from UserManager (ResourcerResolver.commit())
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Do something like this, I think subservice logic is not working in AEM 6.1 (It used to work in AEM6.0)@Reference ResourceResolverFactory rrfac; ResourceResolver rr=null; Map authInfo = new HashMap(); //Change this code in future to use read only user authInfo.put(ResourceResolverFactory.USER_IMPERSONATION,"WriteUser"); rr = rrfac.getAdministrativeResourceResolver(authInfo); //Your Logic rr.commit();

Views

312

Likes

0

Replies

0
Re: problem instantiating osgi bundle sightly helper java class
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Swathi,1) Does above code works when you use it in OOTB AEM without sprint MVC ?2) What is resourceSuperType of component for which you are adding this script ? (Not sure why you are using )3) Does it works if you use JS Use instead ?Yogesh

Views

600

Likes

0

Replies

0
Re: Accessing CQ component
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Manju,You can create a sling servlet as well that will read data and return Modified JSON view of page (http://sling.apache.org/documentation/the-sling-engine/servlets.html)If you want a component to to accessible like JSON then create json.jsp under your component, write logic to render json output for that component, create a node of type cq:Page under say /etc/something with default redering as JSON based on above resource type. And then from your e commerce system call /etc/something p...

Views

311

Likes

0

Replies

0
Re: close resourceResolver
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello,No. In theory you only have to close resource resolver (Or admin session) if you are creating one using dependency injection or through service.Yogesh

Views

345

Likes

0

Replies

0
Re: Authorization - Permissions for public and secure portions of site
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Rohit,If user do not have access to page then they get 403 status code. But since for CQ no access = pages does not exist, thats why you are seeing 404 page. You can always extend your 404 under /apps/sling/servlet/errorhandler/default.jsp and 404.jsp to show correct behavior. You can also manage your custom redirect or pop up here.Sample code snippet for default.jsp int statusCode = (scObject != null) ? scObject.intValue() : HttpServletResponse.SC_INTERNAL_SERVER_ERROR; if(statusCode==404){ boo...

Views

240

Likes

0

Replies

0
Re: Dispacter rendering the contents with mime type text/plain instead of text/html
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello,Check your mime_type file and make sure that for html you have added correct Mime Type. Some time it is in httpd.conf as well. Can you also check if publisher is returning correct Mime type ?Yogesh

Views

262

Likes

0

Replies

0
Re: Why are there 2 Asset classes in 5.6.1? When should you use them?
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/api/Asset.html might be deprecated in future.Yogesh

Views

324

Likes

0

Replies

0
Re: How to set access for created users programatically
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Please check http://wemcode.wemblog.com/add-acl-to-node if that helps.Yogesh

Views

416

Likes

0

Replies

0
Re: Disable Login Autocomplete for user name
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Todd, autocomplete="off" should work. Can you make sure using firebug that there is no other CSS overriding this behavior ?Yogesh

Views

263

Likes

0

Replies

0
Re: Reverse replication error
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
How about com.day.cq.wcm.workflow.process.ReverseReplicateProcess under HOST:PORT/system/console/components You can do browser search under components to find that.Yogesh

Views

285

Likes

0

Replies

0
Re: Reverse replication error
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
From log it looks like com.day.cq.wcm.workflow.process.ReverseReplicateProcess is missing in your instance. Can you check if all bundles are active and you can find this under HOST:PORT/system/console/components and it is active.Yogesh

Views

259

Likes

0

Replies

0
Re: Reverse replication error
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Can you please make sure that you have set up your reverse replication properly ?[1] http://dev.day.com/docs/en/cq/current/deploying/replication.htmlAlso can you also post your complete log fragment at a time reverse replication is triggered ? What version of CQ are you using ?Yogesh

Views

280

Likes

0

Replies

0
Re: Accessing a repository via JNDI is NOT working
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello,It is not recommended to use JNDI to access repository outside CRX. Please use WebDav instead. Here is example http://wemcode.wemblog.com/accessrepository This will be as simple as Repository repository = JcrUtils.getRepository("http://localhost:7402/crx/server"); Also make sure that you have required jar files in your class path.You might also want to see http://forums.adobe.com/message/4734716 in case you need some additional jar files in your standalone application classpath.Yogesh

Views

451

Likes

0

Replies

0
Re: How to set access for created users programatically
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Sridhar,I guess it is same question about assigning ACL to Principal (User or Group). Here is example http://wemcode.wemblog.com/add-acl-to-node. Best practice is,1) Create Group (Or roles)2) Assign ACL to Group3) Create User4) Assign User to Group.Yogesh

Views

416

Likes

0

Replies

0
Re: Marketing cloud node created after uninstalling Geometrixx
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Divya,Unfortunately marketing node is not part of that package that why when you uninstall geometrixx package that node is still there. We deleted that node manually from site admin. I will suggest you to create a daycare ticket with Adobe to include this filter as well, as part of Geometrixx all package.Yogesh

Views

243

Likes

0

Replies

0
Re: DAM Image functionality Customization- Image Transparency, Image Scaling and Sharpening
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello Nitin,Yes you can do that. Here is one example http://www.wemblog.com/2013/01/how-to-associate-cug-with-dam-asset-in.html same way you can create your own property.Yogesh

Views

260

Likes

0

Replies

0
Re: nodes checked in, checkout out - what is this?
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
It is used during versioning of node http://www.day.com/specs/jcr/2.0/15_Versioning.htmlYogesh

Views

366

Likes

0

Replies

0
Re: @Reference is not working getting null
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
In Java recommended approach is to use @reference to get a service reference. If you are getting null for resolverFactory in your service (Your class should be service as well) please create a daycare ticket with steps to reproduce this issue. Other way to get a reference would be in your activate method of service (Your class) using bundlecontext (Similar to this http://www.knopflerfish.org/releases/current/docs/javadoc/org/osgi/framework/BundleContext.html#getService(org.osgi.framework.Service...

Views

871

Likes

0

Replies

0
Re: LDAP Authentication with Group Membership
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Diana,For that you might have to wither extend login module and use your own on top of LDAP one (And let that module create user or group) or use http://wem.help.adobe.com/enterprise/en_US/10-0/core/administering/ldap_authentication.html#Callbacks feature. In this you can disable User sync and then use only Group sync to create user.Yogesh

Views

315

Likes

0

Replies

0
Re: How to get the number of times a page got viewed in CQ5.6.1 programatically from CQAnalytics or sitecatalyst
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
If you have access to external analytic service API to pull data. You can show that in author using Impression API in CQ. Example http://www.wemblog.com/2014/11/how-to-use-impression-service-in-cqaem.htmlYogesh

Views

565

Likes

0

Replies

0
Re: How do I import Twitter's new JSON feed into AEM?
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Scott is right. You have to use Oauth to get authenticated with twitter API to get JSON feed. We ended up using https://code.google.com/p/oauth-signpost/ to establish that connection. Hope it will help.Yogesh

Views

559

Likes

0

Replies

0
Re: unable to get maven to compile JSPs
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Personally I have never used jspc to compile my jsps during build time due to some reasons. I tried it today and it seems to be working for me with following dependencies http://wemcode.wemblog.com/parent-pomAnd following plugin definition maven-resources-plugin true copy-resources generate-sources copy-resources ${project.build.directory}/jsps-to-compile jcr_root apps/** libs/foundation/global.jsp org.apache.sling maven-jspc-plugin 2.0.6 compile-jsp jspc false ${proj...

Views

491

Like

1

Replies

0
Re: unable to get maven to compile JSPs
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Yes xssAPI is part of which is already included in /libs/foundation/global.jsp so, including /libs/foundation/global.jsp should work.http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/tags/DefineObjectsTag.htmlCan you addcom.day.cq.wcmcq-wcm-taglib 5.6.4 provided In your pom.xml to see if it help to resolve compilation issue during build. Note that this is added in later version of CQ so if you are trying to reference old version of cq-wcm-taglib you might not find it.Yogesh

Views

493

Likes

0

Replies

0
Re: unable to get maven to compile JSPs
Avatar
Give Back 100
Level 5
Yogesh_Upadhyay
Level 5

Likes

18 likes

Total Posts

121 posts

Correct reply

62 solutions
Top badges earned
Give Back 100
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
Yogesh_Upadhyay
- Adobe Experience Manager
Hello,XssAPI should be part of /libs/foundation/global.jsp. Can you please make sure that you have <%@include file="/libs/foundation/global.jsp"%> included in your JSP file. Are you trying to compile your JSP from eclipse or as part of build ? Or you are getting this error while rendering a page after deployment ? Trying to understand pom.xml role here for jsp.Yogesh

Views

507

Likes

0

Replies

0