Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
In my website, I have a need to change the sling:resourceType for my homepage. I am introducing a new field to the homepage properties specifically. I have: Created a new component for my homepage under apps/mysite/components/pages/home-pageUpdated the sling:resourceType to point to this component for conf/mysite/settings/wcm/templates/home-page/initial and conf/mysite/settings/wcm/templates/home-page/structureUpdated the JCR directly in my local sandbox's homepage, and verified that everything works as expected However, in AEMaaCS, I cannot access the JCR and modify content there directly. I am noticing that even though the template is updated and deployed, the existing homepage is still leveraging the prior sling:resourceType. What is the best way to get the sling:resourceType updated in AEMaaCS without losing existing content?
Hi All, I am trying to create a translation job where the job gets created successfully but on trying to rename the job it usually keeps loading with 500 server error pointing to issue with granite.min.js. Also noticed console errors like DuplicateDefinitionError as below in coralUi3 when project is opened. Trying to rename the projectIf we scroll to bottom of the page with many jobs on the page we see DuplicateDefinitionError again.Try to rename the job when the scroll is in between the page rename works fine w/o any errors in console.so the issue is mostly on scrolling to the bottom page.Any suggestions to fix and what could have caused the issue?
Dear All, I have one scheduler called asset test in my AEM6.5SP22 environment. This scheduler runs at 8:30 AM, on every Monday. The scheduler scans through "/content/dam/asset zone" for all newly created assets, checks for missing metadata and sends notification email to the author who created the asset as shown below ********************** ASSET SCHEDULER IN AEM 6.5 ********************@Designate(ocd = AssetTest.Config.class) @Component(service = Runnable.class) public class AssetTest implements Runnable { @ObjectClassDefinition(name = "Test Asset Creation Notifier", description = "Cron-job with SQL statement to send emails to users who uploaded assets. Expensive Query not to be run during business hours.") public static @interface Config { @AttributeDefinition(name = "Cron-job expression", description = "Cron-job task scheduled to run every monday at 8:30 AM") String scheduler_expression() default "0 30 8 ? * MON *"; @AttributeDefinition(name = "Con
Hi Team, We have a custom process step, where based on logic we are starting the workflow/terminating the workflow. We are terminating the workflow by using the below line. wfsession.terminateWorkflow(item.getWorkflow()); This does terminate the workflow and safely completes whatever we need, but it throws an error in the backendjava.lang.IllegalStateException: Workflow is already finished. at com.adobe.granite.workflow.core.WorkflowSessionImpl.terminateWorkflow(WorkflowSessionImpl.java:546) [com.adobe.granite.workflow.core:2.0.240.CQ660-B0017] at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:198) [com.adobe.granite.workflow.core:2.0.240.CQ660-B0017] at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:271) [com.adobe.granite.workflow.core:2.0.240.CQ660-B0017] at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502) [org.apache.sling.event:4.2.24] at org
I create a profile schema containing some attributes that are updated with new values using an external process. What I want to do is have the updates in a file (e.g. JSON) with the userID and the columns to update. When I tried this simple approach, the new data does load, but the rest of the profile attributes are no longer there. I was doing this using the Datasets UI to load more data. What is the best way to update profile data from the UI? API is ok as well, it is just harder to demonstrate.
Hi Guys , I jsut have two questions regarding sling dynamic include I will provide the steps i followed , please correct if anything is 1. Include the SDI as a dependency in the ui.apps pom.xml<!-- Sling dynamic include --><dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.dynamic-include</artifactId></dependency>2. Embed the SDI as a package for deployment in ui.apps pom.xml<embedded> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.dynamic-include</artifactId> <target>/apps/my-site/install</target></embedded>3. Include the SDI as a dependency in the parent pom.xml<!-- Sling dynamic include --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.dynamic-include</artifactId> <version>3.1.2</version> </dependency>4. create o OSGI config ;ui.conf
Hi Team, How to instatiate a servlet if runmode is dev or stage? If it's path based we can get the runmode from backend and pass it to the fe and in fe we can check if the runmode from be is dev we can use ajax call and call servlet by path, but if it's resourcetype based servlet how to instatiate servlet by resourcetype based on dev runmode.
Hi,I have a client specification I would like to ask for the best practice advice. So the requirement is that I am only allowed to create one Experience Event Schema (This schema captures both Transaction Data and the Login Data). In terms of ingesting the data, which way is recommened amongst the two:1. Create one single schema that captures both Login and Transaction data?2. Create two separate schema, one for storing Login Data,and one for storing Transaction data?Please advice onto which solution is the best practices, and both of these have any flaws and also any other alternatives would be greatly appreciated.Best regards,Sching
I am having a captcha functionality where I am using jquery captcha(https://github.com/honguangli/jquery-captcha/blob/master/js/jquery-captcha.js) functionality. Where I was loading those scripts using clientlibs. It is working properly in author env. I was getting the below error in publisher. I tried removing cache in browser and server. Restarted the server and invalidated the clientlibs. I was getting the same error. Any one can helpme to get some solution!
我将再次使用 datepicker 在对话框中配置时间。但是我使用了标头 applysTime: 打印出新的 Date (properties.applysTime 的getTime()),并且 “headerpapplysTime”: “2025-03-05T15:14:00.000Z” 比我配置的要长 6 小时。我的配置如下
Hi All, Has anyone done JUnit test execution in parallel mode in AEM Cloud? If yes, are any changes needed in Cloud Manager that we need to reach out to Adobe for? I have tried updating junit-platform.properties under /src/test/resources but could not see any improvement in deployment time. Please could someone advise. Thanks, Ram
Issue Overview I am working in AEM and need to hide the "Publish" button that appears when hovering over individual folders in a specific path. Currently, the button is displayed dynamically for each folder, and when the cursor is removed, it disappears automatically. I have tried using the granite:hide property, but it only applies to a single folder at a time. Since I have around 10 folders, I would like to know if there is a way to apply the granite:hide property globally so that it affects all folders instead of configuring it manually for each one. Please provide any other ways to solve the issue ??
Hi Team I am not able access the following repo URLs.Could you please help me. https://downloads.experiencecloud.adobe.com/content/maven/publichttps://repo.adobe.com/nexus/content/groups/public RegardsBishnu
Hi Team,We are using the below unpkg at customheaderlibs.html <script src="//unpkg.com/@ungap/custom-elements"></script> Problem Statement: The dependency is being delivered via UNPKG, a public CDN for npm packages. When it attempts to load and takes longer than expected, it affects the page load time for authors and publishers on the end website. However, if it fails to load, it does not impact the page load time. Any one faced this issue and how we can overcome and what is best way to deal this type of issue. Kindly suggest Thanks
I am facing below issue about property indexing.I have two property indexes (cqModel, cqTags )defined at "/content/dam/personal-site/oak:index". Interesting thing is if I move these property indexes to '/oak:index" default out of the box location, property indexes picked by query. But not when indexes defined at "/content/dam/personal-site/oak:index". content that needs indexing will be at /content/dam/personal-site/faqs folder. sample queries to try: select [jcr:path], [jcr:score], * from [dam:AssetContent] as a where [data/cq:model] = '/conf/pi/CF-Models/settings/dam/cfm/models/faq-model' and isdescendantnode(a, '/content/dam/pi/test-sreeni/faq2') select [jcr:path], [jcr:score], * from [dam:AssetContent] as a where [data/master/cq:tags] in('we-retail:gender', 'we-retail:activity') and isdescendantnode(a, '/content/dam/pi/test-sreeni/faq2') select [jcr:path], [jcr:score], * from [dam:AssetContent] as a where [data/cq:model] = '/conf/pi/CF-Mode
Getting the below issue on drop of any adaptive core form component in the AEM page parsys and unable to see the component on page:org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: Compilation errors in org/apache/sling/scripting/sightly/apps/core/fd/components/form/accordion/v1/accordion/accordion__002e__html.java: Line 50, column 2205 : com.adobe.cq.forms.core.components.models.form.Panel cannot be resolved to a type Line 51, column 2336 : com.adobe.cq.forms.core.components.models.form.FormStructureParser cannot be resolved to a type I have followed below documents for the Adaptive Core forms set up in local with the latest version in dependency:Setup AEM form on AEM as a cloud service | by Imran Khan | MediumHow to enable Adaptive Forms Core Components on AEM Forms as a Cloud Service
Hi,I have created a process design that's generate the pdf by using outputService. To invoke the process I have to pass the input payload in the form of xml. But I have the database where all my user entered data stored in the form of json. So, we have a middle layer that convert the json to xml and then will call our AEM REST API. My question is that, is there any feasibility we can invoke the process by using json payload itself. I did not see any of document related on that. Can we create custom process that take input as json file to bind those json data to our xdp dynamic elements. If so, can you please guide me how to create the custom process in aem form on JEE.
Hi,I have custom workflow for my website on rejection of one step how to send back the workflow to previous step using process step in AEM 6.5Example : I have a OR split when the approver rejects it the workflow should go to the previous step
Hello,I'm using a multifield within the page create dialog. But when creating a page, the multifield isn't rendered. It's only rendered when editing the page properties after creation.This pretty simple code I added to the dialog items: <test jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/multifield" fieldLabel="My Multifield" composite="{Boolean}true"> <title jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="My Multifield Item" required="{Boolean}true" name="./multifieldItem"/></test> My page has the resource supertype:core/wcm/components/page/v2/pageI also copied the node to the core page dialog to prevent, that any JS or other code of my page obstruct the rendering of the multifield. But there it isn't rendered, too. The render.jsp of the multifield h
Hi, I have a requirement to fetch all the dropdown fields along with associated values from metadata schema in below formatDropdown Name Option text Option ValueCiti New York ny Boston bostonGender Male
Hi all,We are working on custom SPA component which is supposed to take the given content fragment & use its field on page. In sites custom component we achieved this simply by using below snippet in html & it works fine. cfPath is content fragment path selected in component dialog's pathbrowser field.<sly data-sly-test.cfPath="${'{0}/jcr:content/data/master' @ format=properties.cfPath}" data-sly-use.cf="${cfPath}"> <p>${cf.fieldFromCF}</p> <sly>So, can anyone please help me to achieve the above in SPA react?Any hint on this would be helpful.Thanks,sesmic
Hi Team, We have a requirement related to content fragments. Based on a checkbox selection in the content fragment, we need to copy the content fragment from Folder A to Folder B. Additionally, we need to support bulk movement: when a folder is selected and a custom button is clicked, all content fragments in that folder should be moved.Which approach is better for this: using a workflow or an event listener? Given that the project is headless and the backend system only consumes the content fragments via API, So i just want to know that our approach does compromise the headless concept.?AEM version : Aem as a cloud service ThanksGeo
We are encountering an issue related to full-text search and indexing. Here's the observed behavior: We have a custom multi-valued property indexed for full-text search. Whenever tags are added—either to cq:tags or custom properties—we store the localized tag titles in this property. This approach is intended to enable search functionality for localized tag titles in Omnisearch. When new tags are added, the multi-valued property is updated via our workflow process, and the newly added values are searchable both in asset search and through queries. However, when a tag is removed, its corresponding localized value is also removed. Despite this, the asset still appears in search results, which is incorrect. The issue seems to be that the index is not reflecting this change, and the updated asset data is not being properly indexed after the tag removal. As per our analysis the problem is that the removal of a tag and its localized value (or any new multivalued property) does not trigger th
Request for Feature Enhancement (RFE) Summary: Show version for out of the box Workflow "manage publications" Use-case: When using the AEMaaCS Workflow "manage publications", there currently is no version published in the timeline. It is also not possible to add a custom parameter "enableVersion=true", as this is an out of the box Workflow, which is not editable. Versioning is needed to keep track of the published content and do proper version control. This is problematic when there is a need to revert to an older version, as it is not possible to access the new versions through the timeline. Also it is inconsistent with Page editor and Quick publish versioning who do show up in the timeline. Current/Experienced Behavior: No version is shown in the timeline for content published via the out of the box Workflow "manage publications" Improved/Expected Behavior: Add a version to show up in the timeline for content published via the of the box Workflow "manage publications"
Hey, Are there any plans to support React 19 for headless adaptive forms? https://opensource.adobe.com/aem-forms-af-runtime/storybook/?path=/story/adaptive-form-introduction--page
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.