since ‎06-07-2020
‎16-12-2020
samsundar23
Level 1
Re: Need to get the last subjected date for the workflow...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thanks bro @Arun_Patidar Based on your input I could get the workflowInstance node path which was last subjected. You suggested to adapt to a node/workflow API to get start date of last workflow used. Does it mean should I be writing a dedicated java class for this query to be executed and then adapt the final output node to a node API and then get the start time as a result ?Is there any other possibility to get the start date as the direct output in querybuilder ?Do correct me if I'm wrong.

Views

94

Likes

0

Replies

0
Re: Need to get the last subjected date for the workflow...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Arun_Patidar , Thanks for your inputs.I want to get start date as a result for the query executed.For instance, if page-name-change is the custom workflow for which I want to get last time this workflow is subjected in AEM author instance.Kindly let me know the way. ThanksSHYAMSUNDAR TK

Views

119

Likes

0

Replies

0
Need to get the last subjected date for the workflow using AEM querybuilder
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
I'm using AEM 6.5.I want to get the start date as a result when was the last time the particular workflow is subjected using aem query builder.https://author.test.com/libs/cq/search/content/querydebug.htmlI tried multiple queries which was not giving the result needed for me. I mean the last time the workflow is used.I tired below query which was not giving me the expected result;path=/var/workflow/instances/server0type=cq:Workflow1_property=status1_property.value=COMPLETED2_property=modelId2_pr...

Views

165

Likes

0

Replies

6
Re: Tab hide not working in dialog-ready but its working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thanks for all your inputs @Manjunath_K and @Jineet_Vora.banner.js file [show and hide of the tab based on drop-down selection "no-image"] (function(document, $, ns) { "use strict"; $(document).on("dialog-closed", function() { window.location.reload(); }); // below method will be triggered during dialog load $(document).on("dialog-loaded", function (event) { $(".no-image").each(function () { Coral.commons.ready($(this), function (element) { var product = element.val(); showHide(product); }); });...

Views

105

Likes

0

Replies

0
Re: Tab hide not working in dialog-ready but its working in onchange method
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Manjunath_K Please find the content.xml and banner.jsNow, even my on change which was working earlier is not working. 😞I tried to search the class image-field-tab in the view-source of html but I could not see it.Please help me. content.xml [please check columnimage from below xml which is the Tab im trying to hide if No image drop-down is selected.] banner.js attached as screenshot ThanksSS

Views

180

Likes

0

Replies

0
Re: Tab hide not working in dialog-ready but its working in onchange method
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Manjunath_K Still the same problem exists.I added layoutConfig with class 'image-field-tab' as you said in the . Still the image tab does not hide when i open the dialog although my selection was 'no-image' when I last applied from drop-down.Kindly help me out.ThanksSS

Views

210

Likes

0

Replies

0
Tab hide not working in dialog-ready but its working in onchange method
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
This is a pretty straight forward question. I'm trying to hide a tab based on drop-down selection. I have added the granite:class as image-tab for the tab to be hided. The below piece of code is working for onchange method when ever i change drop-down, I get to see the Image tab getting hided. But the same is not retained during dialog-ready.I get value of 'a' as undefined.Please help me to resolve. Please find the below clientlibs for the same.(function(document, $, ns) {"use strict";$(document...

Views

263

Likes

0

Replies

8
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Jineet_Vora Apologize to bother you again. I want to append .html at the end of any /content path using resource.resolver.mapping available in theconfig (/apps/environment/publisher/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.config)Any way to do it ? Please help. ThanksSHYAMSUNDAR TK

Views

164

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Jineet_Vora Can you explain about these rules which is already in the path/apps/environment/publisher/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.config /content/shared/$1/$3/$4/$2>/guidance/([A-Za-z-]+)/(.+)-(\d{4})(\d{2})/content/shared/([A-Za-z-]+)/(\d{4})/(\d{2})/(.+).html

Views

173

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Exactly the same problem as you said.Need some work-around for this issue. ThanksSHYAMSUNDAR TK

Views

240

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Jineet_Vora Your recommendations are spot-on. (Y) I assume there is no /content in the dispatcher URLs which is making it not work.To be specific there is no common keyword I thought to add in match and internalRedirect to make it work.Is there any change which i could make in the sling: match or sling: internalRedirect which could make it work generically. My dispatcher URLs are not working.https://zbank.dev.com/cmpy/about-us https://zbank.dev.com/articles/retirement-age ThanksSHYAMSUNDAR T...

Views

267

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working in AEM Publish although content path valid
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thanks @Jineet_Vora for all your recommendations.

Views

283

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Jineet_Vora Thanks a lot for all your inputs. 🙂Your recommendations are working for dispatcher pages which has /content in it. Can you provide your recommendation for my dispatcher page if its going to have only short URLs as below;https://zbank.dev.com/about-us.htmlAny sling:internalRedirect (or) sling:match change which could make it work for the short URLs too.Kindly help. ThanksSHYAMSUNDAR TK

Views

332

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @yjinee94, Please find the below screenshot - I checked in both author and publish instance for the below section and nothing is checked in terms of extension less URLs which are coming up. ThanksSHYAMSUNDAR TK

Views

367

Likes

0

Replies

0
Re: Content path in pathfield/pathbrowser is not working...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @yjinee94 ,Thanks for the info.With or without the html the content is coming up. My requirement is to append .html after moving to the corresponding page on clicking the pathfield link.For instance, If I have authored /content/xxx-bbb/bunk/about-us in pathfield and I should be moving to /content/xxx-bbb/bunk/about-us.html in my publish instance. Is there any way to append .html as well using the etc/map option which you have suggested ?Please help. ThanksSHYAMSUNDAR TK

Views

419

Likes

0

Replies

0
Content path in pathfield/pathbrowser is not working in AEM Publish although content path valid
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Im authoring the content path in pathfield in my author instance which is a valid content path.After publishing, in publish instance its not rendering to that html content page after I click the link.When I observed its due to the .html is not appending in the content path.I don't want to add .html in my component as we have huge number of components to change.I want to handle in AEM itself and I don't want to use apache rewrite url to append .html.I have gone through etc/map but I'm not sure ho...

Views

473

Likes

0

Replies

12
Re: Problem in pathfield in AEM 6.5
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thanks @Vijayalakshmi_S To turn off suggestion, below highlighted in green - within is responsible for the rendering of suggestion. You can create a new resource similar to OOB pathfield and comment this line -> Use the newly created resource to dialog field for authoring External Link.

Views

255

Likes

0

Replies

0
Re: Problem in pathfield in AEM 6.5
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Great suggestion indeed ! Bravo. @Vijayalakshmi_S 

Views

292

Likes

0

Replies

0
Re: Problem in pathfield in AEM 6.5
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
.

Views

327

Likes

0

Replies

0
Re: Problem in pathfield in AEM 6.5
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Vijayalakshmi_S Thanks for your suggestion. If that is the case, is there any way to restrict the auto-suggestion coming up while using pathfield which is the reason behind this entire root cause analysis.

Views

330

Likes

0

Replies

0
Problem in pathfield in AEM 6.5
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
I'm experiencing a problem in pathfield in AEM 6.5 I'm authoring an external link(http://www.google.com) in the pathfield and an auto-suggestion is coming up. When I moved to the previous field the cursor automatically jumps to pathfield again. This is causing a bit of inconsistency for the authors where most of the pathfields are authored with external link. Is there any way to control the auto suggestion in pathfield.(Refer screenshot 1a) - pathfield behavior (Or)Shall I modify the resourceTyp...

Views

432

Likes

0

Replies

6
Re: Issues with migrating mbox.js to at.js
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Hi @Vaibhavi Can you help on this problem ?Not sure about where to move on now. ThanksSHYAMSUNDAR TK

Views

445

Likes

0

Replies

0
Re: Issues with migrating mbox.js to at.js
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thanks for your response.Yes, we did follow the mentioned link.But it did not help in the resolution of the errors which are coming up due to deprecated mbox.js methods.I have post the same in Adobe Target community as well.

Views

446

Likes

0

Replies

0
Issues with migrating mbox.js to at.js
Avatar

samsundar23

samsundar23
- Adobe Target
We started our migration from mbox.js to at.js and as first step we loaded the at.js through adobe target configuration which worked well. After loading the at.js in the page, we are receiving the following error Uncaught ReferenceError: mboxFactoryDefault is not definedat aam_tnt_cb (analytics_min.js:formatted:7031)at event?d_stuff=1&d_dst=1&d_rtbd=json&d_cts=1&d_cb=aam_tnt_cb&d_dpid=604:1 From our understanding, mboxFactoryDefault is deprecated and not used in at.js.In our analytics_min.js mbo...

Views

145

Likes

0

Replies

0
Issues with migrating mbox.js to at.js
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
We started our migration from mbox.js to at.js and as first step we loaded the at.js through adobe target configuration which worked well. After loading the at.js in the page, we are receiving the following error Uncaught ReferenceError: mboxFactoryDefault is not definedat aam_tnt_cb (analytics_min.js:formatted:7031)at event?d_stuff=1&d_dst=1&d_rtbd=json&d_cts=1&d_cb=aam_tnt_cb&d_dpid=604:1 From our understanding, mboxFactoryDefault is deprecated and not used in at.js.In our analytics_min.js mbo...

Views

472

Likes

0

Replies

4
Re: Hi You can find the getScriptPaths(String[] servicePath...
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
Thank you

Views

195

Likes

0

Replies

0
Needed the implementation getScriptPaths(String[] servicePaths) method from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl ???
Avatar

samsundar23

samsundar23
- Adobe Experience Manager
I could not find the method getScriptPaths(String[] servicePaths) from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl anywhere.Moreover I need to do some customizations in particular to that method.Where can I find the implementation part of the getScriptPaths method.Kindly help.

Views

303

Likes

0

Replies

2