since ‎13-11-2018
‎23-10-2020
ashish_mishra1
Level 1
Re: Hide Default workflow models from "Start Workflow" Sc... ashish_mishra1 - Adobe Experience Manager
Thanks, for the reply. I tried the same thing but it is still showing up in the dropdown. I am using AEM 6.5
1310
Views
0
Likes
0
Comments
Hide Default workflow models from "Start Workflow" Screen ashish_mishra1 - Adobe Experience Manager
I want to hide the default workflow models which are present in the modal popup in "Start Workflow", and only want to show my project, workflow models. But don't know how to do it. I followed two tutorials 1. https://helpx.adobe.com/experience-manager/kb/hide-workflow-models-start-workflow-list.html 2. https://docs.adobe.com/content/help/en/experience-manager-65/developing/components/pageinfo.html but it is not working, can anyone help me in that. Thanks,
1537
Views
0
Likes
3
Answers and Comments
Generate parsys in two column react component ashish_mishra1 - Adobe Experience Manager
I have a requirement where I need to create a two-column component in react AEM SPA, but i am not able to get the parsys from the react code, can anyone please share the code or tell the class which we need to use to display the parsys using react js.
1531
Views
0
Likes
1
Answers and Comments
Re: Sling Model mapping not working with SPA react ashish_mishra1 - Adobe Experience Manager
Thanks for the help, It worked now
1408
Views
0
Likes
0
Comments
Sling Model mapping not working with SPA react ashish_mishra1 - Adobe Experience Manager
HI I am trying to implement the AEM Sling model with react but when I am doing this.props in my react I am seeing only this "{"cqType":"wknd-events/components/content/countdownclock","cqPath":"/content/wknd-events/react/home/jcr:content/root/responsivegrid/countdownclock","isInEditor":true}" , my sling model getter methods are not getting added in the JSON, below is the sling model code - package com.adobe.aem.guides.wkndevents.core.models; import com.adobe.cq.export.json.ComponentExporter; impo...
1486
Views
0
Likes
3
Answers and Comments
Get the Page Title in Component Dialog ashish_mishra1 - Adobe Experience Manager
I have a requirement where I want to populate the page title in the component dialog as a value. I know this can be done by writing dialog listener, Is there any other way to do this?
2516
Views
0
Likes
3
Answers and Comments
Re: How to delete jcr value of cq:dialog granite field, w... ashish_mishra1 - Adobe Experience Manager
You can use this dialog validation code to achieve this. Here, we will be setting either of the input value is null. if another field is selected using the dropdown. (function(document, $, ns) { "use strict"; $(document).on("click", ".cq-dialog-submit", function(e) { e.stopPropagation(); e.preventDefault(); var $form = $(this).closest("form.foundation-form"), selectionDropDown = $form.find("[name='./selectionDropDown']").val(), message, clazz = "coral-Button "; if (selectionDropDown == 'selected...
896
Views
0
Likes
0
Answers
Re: can we write a query for getting lastmodified date of... ashish_mishra1 - Adobe Experience Manager
You can Iterate over search results and then adapt the hits to a page and from there get the last modified date of pages. This you can do in Java as well as using groovy script.
650
Views
0
Likes
0
Answers
How to get page selector with custom data ashish_mishra1 - Adobe Experience Manager
I want to trigger a listener on click of path field icon which will call an API and gets the custom set of data, which structures similar to our page data. I want to fill this data in the page selector modal popup. Is there any way I can do this? (images attached for modal popup where I want to display my data)
567
Views
0
Likes
0
Replies
Re: Give permission to a Group by using Workflows ashish_mishra1 - Adobe Experience Manager
I have modified my code and now i have used resourceresolver from system user to get user manger object. and it is working fine now.
1899
Views
0
Likes
0
Comments
Re: Give permission to a Group by using Workflows ashish_mishra1 - Adobe Experience Manager
Thanks, for the help, i have implemented the same code from this. But when i am trying to add a group to another group as members, It is not getting added and no Error is also displaying.Map subServiceParameters = new HashMap<>();subServiceParameters.put(ResourceResolverFactory.SUBSERVICE, GlobalConstants.SERVICE_USER_MAPPER_NAME);ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(subServiceParameters);UserManager userManager = workflowSession.adaptTo(Resource...
1915
Views
0
Likes
0
Comments
Give permission to a Group by using Workflows ashish_mishra1 - Adobe Experience Manager
We have a requirement where we have to provide permissions to different groups by using workflows. I am not able to find the API which I can use to add the path to the respective groups.@Arun_Patidar @bsloki
1938
Views
0
Likes
4
Answers and Comments
Re: get model.json while replicating page ashish_mishra1 - Adobe Experience Manager
Thanks Arun, we have checked your code and it is working fine as it is a custom servlet and you are reading/iterating the node through code.We are trying to get ".model.json" working as it is Out of Box and it works for we.retail & geometrix site.Any help is appreciated. Thanks
958
Views
0
Likes
0
Answers
Re: get model.json while replicating page ashish_mishra1 - Adobe Experience Manager
Request from postman or request from browser url are same, that is why it's working for you & us both.But whenever we request it in java code through request - response way, we are getting empty response.Out of box pages of we.retail & geometrix are giving proper json response either way.
823
Views
0
Likes
0
Answers
Re: get model.json while replicating page ashish_mishra1 - Adobe Experience Manager
Thanks for the reply.Our requirement is to push ".model.json" code of a page on activation to Couchbase DB.For that, we are using custom transport handler, In "doActivate" method of Custom Transport Handler, we are calling following code to get json of mypage:HttpServletRequest req = requestResponseFactory.createRequest("GET", "/content/website/mypage.model.json");ByteArrayOutputStream out = new ByteArrayOutputStream();HttpServletResponse resp = requestResponseFactory.createResponse(out);We are ...
831
Views
0
Likes
0
Answers
Re: get model.json while replicating page ashish_mishra1 - Adobe Experience Manager
Arun Patidar​ Amy_Wong​
823
Views
0
Likes
0
Answers
get model.json while replicating page ashish_mishra1 - Adobe Experience Manager
Hi all,I have a requirement where I need page.model.json when someone clicks on the activate page button. I am able to see the model.json by directly accessing using chrome but not able to do so in JAVA code.Thanks,@ashokkumarmarni
2562
Views
0
Likes
8
Answers and Comments
Child Node Iterating ashish_mishra1 - Adobe Experience Manager
which is the fastest and better way to find out all the "stepitem" nodes from the following structure? Currently, I am using Querybuilder to list down all the step-item node below the page, but is it the fastest way or list children method of Resource Api is fastest.
1084
Views
0
Likes
3
Answers and Comments
Likes given to