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
BedrockMission!

Learn More

View all

Sign in to view all badges

Umesh_Thakur
Community profile Umesh_Thakur MVP
Job title here
Location here
21 BADGES
MVP

MVP

Learn more
Joined the community 17-07-2017 11:59:48 PM
Online
Top badges earned by Umesh_Thakur
Customize the badges you want to showcase on your profile
Re: Sling dynamic include (SDI) drawback
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi @manikanthar1295 ,I faced some issue with the SDI those are:1. Problem with the CDN cache and Edge Side include: It will not work as expected in some scenario, so make it work you will have to do some extra config or set TTL for a fragment of the page, that was included as part of SDI.2. SDI used add some CSS ultimately that will have some impact on the existing site's css and look and feel of the page.3. I only used it with apache asi that worked as expected in all scenarios. Hope this will ...

Views

42

Like

1

Replies

0
Re: HTTP Session in AEM
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
If cookie has some limitation in your case then why did you not go with the sessionStorage and localStorage for the same purpose if you go with javascript way. In java you can easily take help from HTTP session api itself for the same. Hope this will help.Umesh Thakur

Views

58

Like

1

Replies

0
Re: Getting 404 when try to add some fragment in the deployed package
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Yes, It worked for me.

Views

64

Likes

2

Replies

0
Re: Displaying an image in Touch UI Dialog
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
In touch UI dialog we have a resourceType "cq/gui/components/authoring/dialog/fileupload" if you use it for a dialog then at the time of browsing only you will have the preview of the asset.See the below of the image core component for reference./apps/core/wcm/components/image/v2/image/cq:dialog/content/items/tabs/items/asset/items/columns/items/column/items/file. Hope this will help.Umesh Thakur

Views

58

Like

1

Replies

0
Re: Adding width and height to images
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi @chintan97patel,I am not sure whether you are using scene7 or not if you are, you can use presets for images. With the help of presets you can easily set the dimensions of the images.To create image presets you just need to create one interface and create required field like import org.apache.sling.caconfig.annotation.Configuration;import org.apache.sling.caconfig.annotation.Property; @Configuration(label = "Image Preset Configurations", description = "configuring Scene7 Image Preset")public ...

Views

57

Like

1

Replies

0
Re: How to get CRSF Token value in AEM Publisher
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
@kbitra1998,It seems like the permission issue for the anonymous user publish, So handle it you should be having one system user and provide the permission to the node.It should work as expected.https://experiencemanaged.com/posts/send-a-csrf-token-to-an-aem-61-servlet-without-using-jquery-or-granitecsrfstandalone-clientlib.html Hope this will helpUmesh Thakur

Views

79

Like

1

Replies

0
Re: Page editor view not showing properly in Japanese and...
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
@Nesan, Can you check once the browser console, is there something related to it and verify error.log as well.

Views

52

Like

1

Replies

0
Re: Is there an integration between Adobe Anywhere for vi...
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
I don't think so, there is a OOTB configuration available for this purpose. As AEM is quite compatible with scene7 and s3 bucket so you can take help from these two to implement your requirement. Hope this will help.Umesh Thakur

Views

54

Like

1

Replies

0
Re: Need to Store new workflow models in my custom projec...
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
whenever you create a workflow model in AEM, it gets stored in /var/workflow/models path so only thing you need to do is create a var folder of type sling:folder in ui-apps module of your project and then with the help of AEM developer tools for eclipse you can import that model in your project. thats it.Hope this will help.Umesh Thakur

Views

61

Likes

0

Replies

0
Re: how to create a folder in a site?
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
view restriction can we done in two way, one will be thru user permission and another will thru dispatcher rule. Let say in every multilingual site we have language page ,which we use normally for configuration an all but not for user view so we restrict that from dispatcher rewrite rule. it is easily doable. Hope this will help.

Views

70

Likes

0

Replies

0
Re: how to create a folder in a site?
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
It seems like your requirement is not suitable in this scenario:which ever the project, I worked for, I have not seen any folder specifically in content page path. I have seen the hierarchy even many level of hierarchy but those were of cq:Page type only.Even we have servlets registered with ResourceType those are also of cq:Page type or nt:unstructured type node but that too under the cq:page only.So I would suggest take help from empty page template, if needed to create the hierarchy or to sep...

Views

100

Like

1

Replies

3
Re: Ajax call url for default resource type
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
In a content page I have kept resourcetype as servletResourceType and firing ajax from browser's console the ajax was wroking fine import javax.servlet.Servlet;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.servlets.SlingSafeMethodsServlet;import org.json.JSONObject;import org.osgi.service.component.annotations.Component; @component(name = "Resource Type ajax servlet", immediate = true, service = Servlet.class,...

Views

66

Like

1

Replies

0
Re: Current Date & Time using HTL
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi @v1101 ,Since sightly is also an html so in html you don't have any option to get the current date and time without using java or javascript. We have some exception in sightly like availability of global objects but again we don't have any global objects which will give you the current date and time.So you will have to use either java or javascript to get the date and time, if you have already java implemented for the component then add one filed for the same and display on the page otherwise...

Views

132

Likes

4

Replies

1
Re: How to set ErrorDocument dynamically for different la...
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
why you need to have 8 different vhost file? I think there is some confusion..!you can create single virtualhost.conf file for your entire application and there you can create section for every locale and put your configuration there like: ##Brazil##ServerName ${BR_VH}Include conf/dispatcher-handler.confDefine AEM_CONTENT_ROOT_PATH /content/we-retail/brDocumentRoot /app/HTTPServer/cache/content/we-retail/brInclude browser_cache.confInclude rewrite.conf ##Germany##ServerName ${BR_VH}Include conf/...

Views

109

Likes

0

Replies

0
Re: How to set ErrorDocument dynamically for different la...
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Instead of hardcoding it you should go for the variable based for each region and configure it in region specific virtualhost like ##Brazil##ServerName ${BR_VH}Include conf/dispatcher-handler.confDefine AEM_CONTENT_ROOT_PATH /content/we-retail/brDocumentRoot /app/HTTPServer/cache/content/we-retail/brInclude browser_cache.confInclude rewrite.conf Here you can include your error handler path. Hope this will help.Umesh Thakur

Views

125

Like

1

Replies

3
Re: Enabling ESI:Include on Akamai (SDI)
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
We had implemented ESI with attached config file.You need to simply put the config file in the config.publish run mode. Hope this will help. Umesh Thakur

Views

143

Like

1

Replies

1
Re: How to get home page in sling model
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi @hptarora,Can you check once for Context aware configuration available in your application ?if yes you can take help from context aware config to get the homepage if there is one for the same, if not then you can easily add one for homepage path.this is very normal implementation in almost all multilingual application.Hope this will help.Umesh Thakur

Views

77

Likes

2

Replies

0
Re: Allow only authenticated users to access website pages
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Yes you should use the form based authentication to make a API call with user credentials to the authorization provider to get the either session data or bearer token, whichever in your case.But this is not the only thing you need to handle.at the same time you need to handle Access level as well that you can decide based on the token and session data of the user,In AEM we have lots of places where you need to manage user's private data and content and its caching so after any authorization you ...

Views

90

Like

1

Replies

0
Re: Component beforeedit
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
In above snipet at line #16 we are getting a value from dialog field with name ./schemaLogo and at line #19 we are assigning a value to the same dialog field from the ajax response. Hope this will help you out.

Views

81

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi @AEMnewbie,I think you can use jquery based dialog state function to accomplish your requirement instead of listeners here easily you can make a call to get the data from back-end an all list of the events you can find in @Nikhil's blolg at https://aemsimplifiedbynikhil.wordpress.com/2018/07/30/touchui-dialog-listeners-aem-6-3/and one implemented solution you can find below:Here we are making an ajax call to a servlet to read some data from a node in crx and assigning the same value to a dial...

Views

159

Likes

2

Replies

3
Re: Java upgrade in AEM
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
it seems like your java, installed on your machine, is not able to establish a connection with the commongateway.html due to untrusted certificate from you jre keystore. so you are getting this exception. please see the similar issue and solution for the same on below article https://tumesh65.medium.com/handling-javax-net-ssl-sslhandshakeexception-in-aem-in-interserver-communication-82f5060b7399

Views

106

Likes

0

Replies

0
Re: Multifield with composite(not string array)
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
It seems like there is some issue with the compatibility of acs in your instance.So there can be some way to handle it with acs packages but if you still have some issue then you can handle it with front-end js also that you can find it on below linkhttp://www.sgaemsolutions.com/2017/03/touchui-composite-multi-field-with-drop.html Hope this will help.Umesh Thakur

Views

104

Like

1

Replies

1
Re: Java upgrade in AEM
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Yes you need to install java certificate for the same.

Views

132

Like

1

Replies

3
Re: Way to customise cancel inheritance message
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Thanks @Vijaylakshmi, it worked for me.

Views

111

Likes

0

Replies

0
Re: SDI with Sling Exporter
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
In this case can you com.adobe.acs.commons.http.headers.impl.DispatcherMaxAgeHeaderFilter with TTL for dispatcher like:# Configuration created by Apache Sling JCR Installermax.age="120"filter.pattern=["path_pattern to json"] we are using it for one dynamic json in our project. Hope this will help.

Views

130

Likes

0

Replies

0
Re: Way to customise cancel inheritance message
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Hi Arun, Thanks for your response. I have checked path but commons.min.js file itself is not available in my author instance. there is one .js file at /libs/wcm/msm/content/touch-ui/authoring/commons/js/msmTouchUICommons.js and I can see the message here. But when I try to changes some text on it, that is not reflecting in the pop-up. I restated the instance and did empty cache and hard reload on the browser. It didn't work for me.

Views

125

Likes

0

Replies

0
Way to customise cancel inheritance message
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Dear Members,We have one requirement to customise the message, that we are getting while canceling the inheritance on a live copy page.So can anyone suggest a way, if we have to accomplish the above requirement.Step to get the message:1. Open any live copy page in editor.html.2. Click on a component then you will have on Cancel Inheritance Icon.3. On click on the icon You will get one alert confirmation box with "Do you really want to cancel the inheritance?" message. Though we can take help fro...

Views

203

Like

1

Replies

5
Re: onclick is getting removed
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Can you check once whether this has been saved in the crx or not ?Though it is saved, it should be handled in other recommended way like:author that anchor tag(

Views

87

Like

1

Replies

0
Re: clearing and refetching bulk content
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
As @Jörg_Hoh mentioned, you can go with the re-fetching flush agent for this purpose with some modification. If number of pages are 10k then refetching al those 10k pages will flood your publisher with request from dispatcher and again will be a performance issue for you so it will be better to re-fetch only very frequent page out of those 10k like homepage and all and cache all other pages on user request. With the help of java you can use path URL to allow re-fetching.Hope this will help.Umesh...

Views

96

Like

1

Replies

0
Re: Getting warning while deleting a component from a page.
Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
- Adobe Experience Manager
Thanks everyone for spending sometime for the below issue.Now we have the root cause of the below warning that is :We have one org.apache.sling.rewriter.Transformer and org.apache.sling.rewriter.TransformerFactory implementation in our project that was looking for the path, which was deleted as part of the deletion activity, and trying to do some operation.

Views

108

Like

1

Replies

0