since ‎17-07-2017
Online
Umesh_Thakur
MVP
Re: Way to customise cancel inheritance message
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Thanks @Vijaylakshmi, it worked for me.

Views

44

Likes

0

Replies

0
Re: SDI with Sling Exporter
Avatar

Umesh_Thakur

MVP

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

50

Likes

0

Replies

0
Re: Way to customise cancel inheritance message
Avatar

Umesh_Thakur

MVP

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

57

Likes

0

Replies

0
Way to customise cancel inheritance message
Avatar

Umesh_Thakur

MVP

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

121

Likes

0

Replies

5
Re: onclick is getting removed
Avatar

Umesh_Thakur

MVP

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

40

Like

1

Replies

0
Re: clearing and refetching bulk content
Avatar

Umesh_Thakur

MVP

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

41

Like

1

Replies

0
Re: Getting warning while deleting a component from a page.
Avatar

Umesh_Thakur

MVP

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

44

Like

1

Replies

0
Re: Getting warning while deleting a component from a page.
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
That I know @Asuthos, if same thread try to write at the same location, but how can I stop this ? this is happening for all the pages and all the components in the project but not in wknd site in the same instance.

Views

68

Likes

0

Replies

0
Re: Getting source of the page with double slash(//) at t...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Thanks @singaiah, That was a bug in the rewrite rule so we corrected it.

Views

49

Likes

0

Replies

0
Re: Getting source of the page with double slash(//) at t...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Thank you very much Arun for the response, there was one dispatcher rewrite rule which was making the url like I posted in the question, I resolved the issue with another dispatcher rule to eliminate double slash from url. That worked for me.

Views

42

Likes

0

Replies

0
Getting warning while deleting a component from a page.
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Dear Members,I am facing one issue while deleting a component from a page.In aem's error log I can see below warning when try to delete an already authored component in it though component get deleted.Some more details:this stack trace is from my local.I am not able to reproduce this issue in wknd site on the same local instance.though I can see this warning in error log but component get deleted with this warning. so I just wanted to check, is there any way we can handle this warning ?As per th...

Views

92

Likes

0

Replies

5
Re: Getting source of the page with double slash(//) at t...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Hi @asuthosh, thanks for your response.We already have similar rule likeRewriteCond %{REQUEST_URI} !^/?(etc.clientlibs|resources|libs|content|libs|conf|apps|Locations|dispatcher|data|EstoreValidateFormsAuthentication) [NC]RewriteCond %{REQUEST_URI} !\.(html|htm|xml)$RewriteRule ^(.*[^/])$ $1/ [R=301,L] andRewriteRule ^(.+)/$ $1 but no luck.

Views

90

Likes

0

Replies

0
Getting source of the page with double slash(//) at the end of the URL.
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Dear Members,I am facing one unique kind of issue with "//" at the end of the url.When I hit https://dev-demo.edev.mysite.com:8080/personalcare/shop/shampoo/ it works perfectly fine but when I hit the sam url with double slash at the end https://dev-demo.edev.mysite.com:8080/personalcare/shop/shampoo// it gives source of webpage.When I check the same it browser's Network tab it simply try to call "/" as document as in below imagethen I try to further analyse the dispatcher log I see with correct...

Views

153

Likes

0

Replies

6
Re: In Context aware configuration, how to read sling:con...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
That you can easily get from resourceIteration of your current component Or from inheritanceValuemap .

Views

76

Likes

0

Replies

0
Re: SDI with Sling Exporter
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
So why are you not going with the SDI way. this can be implemented in SDI with nocache or TTL based on your caching requirement.You just need to put SDI config for a single or multiple component in publish runmode apart from basic SDI configuration. If you are looking for something else please explain. Umesh Thakur

Views

152

Like

1

Replies

3
Re: In Context aware configuration, how to read sling:con...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
@LikesAEM,In AEM, On our content path we use the property slign:configRef to pass the path of the context aware Siteconfiguration at this path we used to have one .xml file that will have all the parameters mapped with the fields your siteconfiguration.java file. and thus if you have an object of the .java file you will get those parameters easily.For example:1. In our site path at : /content/my-site/us/en_us/jcr:content, we have sling:configRef pointing to /conf/my-site/us/en_us2. In our code b...

Views

112

Like

1

Replies

2
Re: Experience fragment on a page without including its c...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
We had similar kind of requirement, so we had created two xf structure component and so two template one with and another without clientlibs.We were using without clientlib XF, to create a experince fragment to be embeded on the page where we allready have all the client libs to generate the look and feel for the experience fragment.And with clintlibs to create experience fragment, where we were using experience fragment stand alone. So you can take that approach to handle to scenario. If you do...

Views

77

Like

1

Replies

0
Re: How to retrieve path of subpages
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Just get the currentPage and from there you can take a resource and iterate the listChildren of the resource that is pretty easy and convenient to use. Wherever is possible always try to use Sling API instead of JCR API.

Views

81

Likes

2

Replies

0
Re: Experience Fragment with MSM or localization.
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
You don't have option to select target for the live copy for experience fragment as it is for normal content pages. Only option you have is create live copy in the same folder then use Move option to the desired folder, the benefit will be you not need to care about the reference.It will update automatically.Hope this will help.Umesh Thakur

Views

67

Like

1

Replies

0
Re: Issues with Style System
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Can you once check whether client libs are allowed on Dispatcher or not ?

Views

100

Like

1

Replies

0
Re: Image size reduction issue
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
There can be two case of it:1. You are using scene7 for your digital assets, in this case you need to check whether you are passing the required PRESETS for image or not to get the required image to be displayed on the page.2. You are using DAM for digital assets, in this case you need to verify the image in publisher DAM whether is fine or not means in size. If not fine then you need to upload the actual image in the dam. If every thing is fine then for both of the case you need to verify the C...

Views

88

Like

1

Replies

1
Re: how to save component's design mode configuration in...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
@jayv25585659, when you save a component's design dialog all these configuration used to save in /conf/your-project/settings/wcm/policies/ path under your project structure name. So if you can add that generated policy as part of your code base, that will solve your problem.With the help of AEM developer plugin in eclipse or any other available tool you can import that in you code base.Hope this will help.Umesh Thakur

Views

73

Like

1

Replies

0
Re: User permission restrictions on parent page, but not...
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Instead of going for User permission and ACL why are you not using locking and unlocking of the page at template level or even page level?This should work fine in your scenario.

Views

86

Like

1

Replies

0
Thank you very much and for this wonderful recognition....
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Thank you very much @Singh_Jagpreet and @kautuk_sahni for this wonderful recognition.Congratulation to all new MVPs and thanks for your support in helping members queries.

Views

210

Likes

4

Replies

0
Re: Multifield issue - validation
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Yes here you are using granite and coral in one dialog, I mentioned in my first reply so first you need to correct it. means completely make it in either coral or granite.I would suggest go for coral as it is best these days.And since you are using collapsable field so I think this is its behaviour to not to be collapse all the time but again you need to check its behaviour.Hope this will help.Umesh Thakur

Views

103

Like

1

Replies

0
Re: Multifield issue - validation
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Normally what happens like if you already have submitted any value in multifield then if you reopen the dialog then opened multifield will be in expanded mode by default.Since as per you, it is not happening then it seems you have some issue with your dialog.As per recommendation, you should not use coral and granite UI in the same dialog otherwise you will be landed in the issue like not able to submit the dialog or close the dialog. this is the very common mistakes people used to do while crea...

Views

137

Like

1

Replies

3
Re: Get user device info
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Hi @parag_dalal,I am not sure why you are getting the device type; if this the only requirement then you can easily get it from User-Agent request header from the request in either sling model or wcmusepojo.like: request.getHeader("User-Agent");But if your requirement is to use the device size resolution then I would go with viewport from the front-end rather than back-end java. because it will have some impact on your site performance ultimately.Hope this will help.Umesh Thakur

Views

96

Like

1

Replies

1
Re: Create page displays no properties option
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Hi @leifduncan, It seems your deployment had any issue. So since you are new to aem so it will be better to download aem-guides-wknd.ui.apps-0.0.1-SNAPSHOT.zip and aem-guides-wknd.ui.content-0.0.1-SNAPSHOT.zip package from the below url and install directly thru package manager of your instance. Since these are already compiled project so there should not be any issue it.https://helpx.adobe.com/in/experience-manager/kt/sites/using/getting-started-wknd-tutorial-develop.htmlHope this will help.Ume...

Views

96

Like

1

Replies

2
Re: Adobe Experience Manager download issue
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Hi @divyachavda,The only way I know is you need to drop and email to spphelp@adobe.com to get a trial version of .jar to run on you local machine. But since now AEM is available as Cloud Service so I am not sure whether they can provide one trial instance or not. they can only clear what are the ways to get one AEM instance for your personal use.Hope this will help. Umesh Thakur

Views

68

Like

1

Replies

0
Re: Need your help with a big problem with dynamic tables
Avatar

Umesh_Thakur

MVP

Umesh_Thakur
- Adobe Experience Manager
Hi @patrickpai ,What I understand from your question is :You want dynamic table creation in generated PDF based on user input if my understanding is correct then I had used on open library named Itext for pdf creation using this you can easily generate dynamic pdf with html look and feel.So many other tools are also available for the same purpose.If I am not correct can you please explain a bit more. Umesh Thakur

Views

91

Like

1

Replies

0