since ‎19-04-2015
‎24-04-2020
sankarr26533925
Level 2
Repeatedly appearing oakstate error at same node in the logs for 6 hours sankarr26533925 - Adobe Experience Manager Assets
We are getting the below exception continuously more than 9 hours in logs as part of this functionality. Functionality : Copying all pages from one country(UnitedStates) to another country(England) and adjusting references for all the pages using referencesearch API. We are passing single same resourceresolver to all method in this functionality to commit after write/modify operation. Using sling jobs in this functionality to make job execution as ordered. Observations:Initially error is thrown ...
3127
Views
0
Likes
1
Answers and Comments
Re: AEM adaptive forms implementation using REST webservice sankarr26533925 - Adobe Experience Manager Forms
@Mayank_Gandhi Thanks for you response. So for FDM call, i have to follow instruction as per below link. Create data model using Swagger file since we are using Rest webservice.https://helpx.adobe.com/in/experience-manager/6-3/forms/using/invoke-form-data-model-services.html So the below prefill service will not be useful for this functionality because both(Custom Prefill class and Ajax call to load dropdown values) are happening at different time.https://docs.adobe.com/content/help/en/experienc...
1874
Views
1
Like
0
Replies
Re: AEM adaptive forms implementation using REST webservice sankarr26533925 - Adobe Experience Manager Forms
@Mayank_Gandhi - Thanks for responding to this query. In below screenshots, Checkbox name was wrongly entered as "Male" instead of "Gender". Please ignore it. Functionality -1(User entering the values and submitting the form. It is in draft state) For City dropdown, webservice is invoked from rule editor via Ajax to get city dropdown values. Functionality -3(User reentering the values and submitting the form again. It is in rejected state) We are using prefill concept using JSON schema (com.adob...
2002
Views
1
Like
1
Replies
Re: AEM adaptive forms implementation using REST webservice sankarr26533925 - Adobe Experience Manager Forms
@Mayank_Gandhi Thanks for your response.I have explained my requirement with single section only for understanding. However there are 6 to 7 sections in single form, which need to be filled by user before submitting. We have different webservices for getting individual dropdown values and for saving each section. So we are planning to use JSON schema which help us to prefill the data for each section in functionality-3.There are different webservices to get each section details which are entered...
2513
Views
1
Like
2
Replies
AEM adaptive forms implementation using REST webservice sankarr26533925 - Adobe Experience Manager Forms
Requirement : Form contains 6 different input fields and submit button. We will invoke rest webservice(JSON request/response) to get dropdown values, checkbox values.1st Field(Name) - Textbox2nd Field(City) - Dropdown(Values fetched from Webservice. Assume values are Bangalore, Chennai, Hyderabad)3rd Field(Interests) - Checkbox(multiple selections and Values fetched from Webservice. Assume values are Swimming, Cycling, Running)4th Field(Gender) - Radiobox(Male or Female)5th Field(Education detai...
4288
Views
0
Likes
7
Replies
Re: Display redirected parameters(from servlet response)... sankarr26533925 - Adobe Experience Manager Forms
@Mayank_Gandhi Thanks for your response. In the servlet where you are handling the request/response, append the ID in the form B path that you created and fetch it in the form. ==>I assume that ID should be added as query param in form B path. I want to show this ID in textbox(added in form fragment in Form B.==> In this scenario, where we have to read this ID value and display in textbox. Is it from rule editor or some other place?) ] 2. Don't use 2 forms, rather have two fragments. Create butt...
1880
Views
1
Like
1
Answers
Display redirected parameters(from servlet response) in redirected page sankarr26533925 - Adobe Experience Manager Forms
Form A has few fields and submit button. For form submission, we are using Submit to Rest End point(Sling AEM servlet) and adding redirect URL as Form B path We will get ID value as part of sling AEM servlet response. This ID has to shown in Form B. I have gone through all the below links and could not find how to get ID value in Form B. Please read my question clearly and provide your response. Thanks in advance. How to return a value from submit action and use it in the redirect page?AEM 6.0 F...
2552
Views
0
Likes
4
Answers and Comments
Re: AEM 6.4 form submission to Rest endpoint via sling servlet sankarr26533925 - Adobe Experience Manager Forms
This scenario is working on AEM publish not on AEM author.
5270
Views
0
Likes
0
Comments
AEM 6.4 form submission to Rest endpoint via sling servlet sankarr26533925 - Adobe Experience Manager Forms
Scenario : Adaptive Form-1 Dropdown(Year - Example 2018, 2019, 2020) Dropdown(TYPE - Example AAA, BBB, CCC)Create button Adaptive Form-2Label(Display form# example AAA-2018-10000) Requirement: On click of create button in Form-1, we have to call AEM servlet(pass Year and Type values in Query Params) which in turn invokes third party endpoint and return form# based on user dropdown selection(Year and Type) in Form-1. Once the response code is 200 from third party end point, we have to redirect to...
6092
Views
0
Likes
4
Answers and Comments
Flush agents took more than 1 minute to process queued path(2 path only in queue) sankarr26533925 - Adobe Experience Manager
We have configured four flush agents in publish instance(AEM 6.3 SP1). First two queues will receive pages under /content/test1 heirarchy and other two queues will receive pages under /content/test2 heirarchy. Pages are sent to these queues programmatically. Totally there are two webserver endpoints only(localhost:9190 & localhost:9191) for these four queues. Even if two pages are sent to all four queues. Each queue is taking minimum 30 to 40 seconds to process two pages. Is there any way to mak...
1163
Views
0
Likes
1
Answers and Comments
Sling job is running after 2 to 3 minutes from job addition sankarr26533925 - Adobe Experience Manager
We have two to three jobconsumer in publish instance(AEM 6.3 SP1). After adding the job to particular topic(job manager.addJob), Job consumer consuming the same topic is running after 2 to 3 minutes. Same issue exists for other jobconsumers in publish instance. Publish instance is clustered one and using MongoDB(Leader and Non Leader).Verified that jobs are distributed on both instances and startup delay is set as 30 in Apache sling job manager.Is there are other configuration need to be changed...
1519
Views
0
Likes
4
Answers and Comments
Re: How to check whether page invalidation is done for particular path in flush agents or not(Publish instance) sankarr26533925 - Adobe Experience Manager
Gaurav,Thanks for your response.I listened on event for flush job completion(org/apache/sling/event/notification/job/FINISHED) for scaffolding page.On handle event method, I tried to check the below status using replication status API whether it is delivered(cache invalidation done) or not. It is returning false and making the thread to sleep for few more seconds. But still it is returning value as false for the below code after pausing the thread.ReplicationStatus status = page.adaptTo(Replicat...
1579
Views
0
Likes
0
Answers
Re: How to check whether page invalidation is done for particular path in flush agents or not(Publish instance) sankarr26533925 - Adobe Experience Manager
Your solution will not work for this scenario if cache validation failed for page due to web server not running.Mail has to be sent once cache invalidation(not after the successful replication from author to publish) is done for scaffolding page.
1582
Views
0
Likes
0
Answers
How to check whether page invalidation is done for particular path in flush agents or not(Publish instance) sankarr26533925 - Adobe Experience Manager
Hi All,We have to trigger mail at Publish instance for the below scenario.Consider page(with scaffolding content) is replicated from author to publish. Scaffolding content is considered as pageWhen we publish the page from author to publish, two entity(page and scaffolding page) will be replicated to publish instance. Flush agent is configured at publish instance to invalidate both the page and scaffolding page.Mail has to be sent once cache invalidation(not after the successful replication from...
3303
Views
0
Likes
7
Answers and Comments
Re: How to call flush agent programmatically for flushing referenced page sankarr26533925 - Adobe Experience Manager
Hi Gaurav. Thanks for your inputs. I want to know how to invoke flush agents from Java similar like normal replication agents.
1866
Views
0
Likes
0
Answers
How to call flush agent programmatically for flushing referenced page sankarr26533925 - Adobe Experience Manager
Hi All,As part of flushing referenced pages, we have to call flush agent programmatically to flush each referenced page for scaffolding content.Scaffolding content is added in different pages and cache invalidation has to be happen for all referenced pages whenever scaffolding content page has to replicated from author to publish.I tried the below API to call flush agent similar to calling normal replication agent for publishing content from author to publish. It is invoking flush agent.Replicat...
3048
Views
0
Likes
3
Answers and Comments
Need aspect ratio or height and width for video during video upload in eDAM sankarr26533925 - Adobe Experience Manager
Hi All,When we upload image in eDAM, Metadata Processor(com.day.cq.dam.core.process.MetadataProcessorProcess - CQ5 out of box workflow process) is extracting metadata details(image length and width.. etc) for the image.Is it possible to get aspect ratio or height or width for the video when we upload video in eDAM ?ThanksSankar
1446
Views
1
Like
3
Answers and Comments
Not able to view Thumbnail rendition(638x638) for few dam video assets sankarr26533925 - Adobe Experience Manager Assets
Hi All,We are creating the thumbnail rendition(638x638) for video asset using asset.addrendition(name, inputstream, mimetype) dam API.External image will be read and add it as rendition for video asset. For few video assets, we can able to view this thumbnail by double clicking the rendition and open it in different tab.For few video assets, we can't able to view it by double clicking that rendition. No error is appeared in the logsPlease provide your inputs to find the solution for this issue.T...
2074
Views
0
Likes
2
Answers and Comments
Re: Can we have same ACLSetup(com.day.cq.security.ACLSetup) file present in two maven projects sankarr26533925 - Adobe Experience Manager
I missed to add one point to make it clear. I want to install both project-1 and project-2 one by one on same vanilla instance.So First I will install Project 1 and then install Project 2. Currently I am installing both projects one by one. ACLs to DAY CQ ACL Setup Service(com.day.cq.security.ACLSetup) shows ACL3 and ACL4 only.Is there any way to append the project-2 related ACLs(ACL3 and ACL4 ) to project-1 related ACLs by adding any property in OSGI config at config.author.dev for project-2 ?
4415
Views
0
Likes
0
Replies
Can we have same ACLSetup(com.day.cq.security.ACLSetup) file present in two maven projects sankarr26533925 - Adobe Experience Manager
I have doubt related to com.day.cq.security.ACLSetup file which is used for providing different permissions at mentioned nodes for different groups.Consider I have two maven projects. Project-1 and Project-2Project 1 contains below ACLs which are stored in com.day.cq.security.ACLSetup file. This file is located at /apps/Project-1/config.author.dev/com.day.cq.security.ACLSetupACL1: allow;jcr:read;test-project1-user;/apps/project-1ACL2: allow;jcr:read;test-project1-user;/content/dam/project-1Proje...
4657
Views
0
Likes
3
Replies
Re: Stop versioning on Page deletion sankarr26533925 - Adobe Experience Manager
Hi jitendra, Do u agree whether the version will be created for the page before it is deleted ? I tested the page deletion functionality on OOTB instance and found that two events are generated under /var/audit/com.wcm.core.page/deleted page/. one is for version created and other is for page deleted..
4997
Views
0
Likes
0
Replies
Re: Stop versioning on Page deletion sankarr26533925 - Adobe Experience Manager
Thanks Jitendra for your inputs. I need to sync some page content from one instance to other instance whenever page is created/versioned. Listener should not run whenever page is deleted. Now it is running because the page is versioned before deletion. I can't figure it out whether the page is actually versioned or deleted. I am using JCR event listenersPlease share your inputs if you have any solution for this.
4997
Views
0
Likes
1
Replies
Stop versioning on Page deletion sankarr26533925 - Adobe Experience Manager
Hi,How to stop versioning on page deletion ? Whenever page is deleted, version is getting created before it is deleted.Thanks!!
5055
Views
0
Likes
4
Replies
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
Can I create resourceresolver in local method and close it ?
2006
Views
0
Likes
0
Answers
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
So I can create session and resolver in each method. Will it cause any problem ?
1967
Views
0
Likes
0
Answers
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
I am using JobConsumer API (org.apache.sling.event.jobs.consumer). I should use CQ5 API only..Can we pass resourceresolver through Job properties ?
1940
Views
0
Likes
0
Answers
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
Thanks for your reply..Scenario :Copying child nodes from particular node(/content/old/node1) and replacing child nodes under path /content/new/node1.Also doing add/modify/delete property under the node /content/new/node1 and its child nodes.Similarly (/content/old/node2) to (/content/new/node2)(/content/old/node3) to (/content/new/node3)(/content/old/node4) to (/content/new/node4)I am doing the above four operation at same time(creating job for each process /content/old/node1 to /content/new/no...
1966
Views
0
Likes
0
Answers
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
Thanks for your reply..Scenario :Copying child nodes from particular node(/content/old/node1) and replacing child nodes under path /content/new/node1.Also doing add/modify/delete property under the node /content/new/node1 and its child nodes.Similarly (/content/old/node2) to (/content/new/node2)(/content/old/node3) to (/content/new/node3)(/content/old/node4) to (/content/new/node4)I am doing the above four operation at same time(creating job for each process /content/old/node1 to /content/new/no...
1978
Views
0
Likes
0
Answers
Re: Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
Thanks for your reply..Scenario :Copying child nodes from particular node(/content/old/node1) and replacing child nodes under path /content/new/node1.Also doing add/modify/delete property under the node /content/new/node1 and its child nodes.Similarly (/content/old/node2) to (/content/new/node2)(/content/old/node3) to (/content/new/node3)(/content/old/node4) to (/content/new/node4)I am doing the above four operation at same time(creating job for each process /content/old/node1 to /content/new/no...
1946
Views
0
Likes
0
Answers
Closing ResourceResolver and Session sankarr26533925 - Adobe Experience Manager
Hi All,In order to avoid the below error, I am creating resourceresolver and session at every place(all methods) and closing it at the end of method in finally block.. Sample piece of code for creating and closing resourceresolver and session in single methodI am doing lot of operations(remove node, add/modify/delete property under the node) in 30 different methods. Whether it will cause any performance issue if we creating and closing resourceresolver and session at 30 methods. Error:01.01.2016...
10257
Views
1
Like
14
Answers and Comments