Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
Hi Team, When we are trying to run the sonar-qube on the AEM project then we are getting the following error:Can anyone please help us:[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.24 @ [ERROR] Unknown packaging: content-package @ line 15, column 16 [ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.24 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.24 @ [ERROR] Unknown packaging: content-package @ line 15, column 13
I have a container in which three nodes are present. I want to rearrange the 2nd node to the top position in the container. How can I do this programmatically?
Hello All,We had some utilities (Java scripts) we had been using for AEM 6.5 on prem.We no longer support Oracle Java -- my question is will the Java scripts (.jar) files we have work with OpenJDK? Thank you.
Hi,We need to connect to a third-party web socket to have continuous data flow, and that data needs to integrate with one of the Adobe Experience Platform journeys.The WebSocket works with an initialisation; then, we need to subscribe to it. The WebSocket also needs a ping every 3 seconds to keep the subscription alive. Prior to initialisation, there is an Auth call to get the Token, which is later required for the above processes of WebSocket.We already developed a middleware that is in continuous integration with the WebSocket. It gets data as it is subscribed and pushes that data to Adobe Experience Platform using HTTPS service (using collectionID and flowID).However, the requirement has changed, and it requires removing the middleware and getting data directly from Websocket to the Experience Platform collection journey.We reviewed a couple of documents regarding this requirement but could not find any. So, could you please help us here to integrate the WebSocket, which integration
I'd like to create a workflow launcher based on dates. If cq:lastReplicated is newer than cq:lastModified, then kick off the workflow. Is this possible? I'm looking to trigger this only when a document has been published and it should not trigger when a document has been versioned (that's why I'm trying to add the date logic). I've tried these settings: Event Type: modifiedNode type: dam:AssetPath: /content/dam/mydocumentsRun modes: authorConditions:jcr:content/cq:lastReplicationAction==Activatejcr:content/cq:lastReplicated>jcr:content/jcr:lastModified Event Type: modifiedNode type: dam:AssetPath: /content/dam/mydocumentsRun modes: authorConditions:jcr:content/cq:lastReplicationAction==Activatejcr:content/cq:lastReplicated-jcr:content/jcr:lastModified>=0
Hi, We are using AEM cloud and currently I am trying for a way to schedule publishing using postman. I am able to achieve publishing or activate now using local development token but not sure how to schedule for later using postman. Is it even possible? Post URL : {aemenvironmenturl}/bin/replicate.json Below are the parameters passed. path: /content/dam/exmpleclient/samplecmd: activateagentId: publish Tried schedule parameter but it did not work.
We’re working on a project that requires a new folder to be created under /conf/project2, and we need to grant read permissions (ACL) to all users via code or OSGi configuration.For this use case, do we need to create a new system user with read permissions for the required path?Could you please share a sample implementation to handle this scenario?
Hi, I've recently upgraded my AEM instance on dev environment from 6.5.5 to 6.5.21 and after I've restarted the instance, it's responded with bad gateway 502 on the instance link itself and /system/console/bundles. I have tried checking if there are any invalid indexes and all of them are valid when i checked. Any suggestions on what steps should I take next to mitigate this issue?
Hi, We are using the MessageGatewayService to send custom email notifications within a workflow. I've configured the SMTP details correctly and verified them in the Day CQ Mail Service configuration in ConfigMgr. However, I encounter an "Invalid mail service configuration" error when sending emails. While debugging the code, I noticed that all values are null within MessageGateway<HtmlEmail> messageGateway = messageGatewayService.getGateway(HtmlEmail.class);.The issue resolves when I restart the instance or stop and start the "Day Communique 5 Mailer" bundle (com.day.cq.cq-mailer). We are using AEM 6.5 with Service Pack 6.5.17. Any help is greatly appreciated. Caused by: com.day.cq.mailer.MailingException: Invalid mail service configuration. at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:300) [com.day.cq.cq-mailer:5.14.3.B0006] at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailSer
I am facing a UI inconsistency issue in my project due to differing cache durations for HTML and client libraries (CSS/JS). Below are the cache rules:Cache Rule for HTML:<LocationMatch "^/content/.*\.(html)$">Header set Cache-Control "max-age=900,stale-while-revalidate=1800" "expr=%{REQUEST_STATUS} < 400"Header set Surrogate-Control "stale-while-revalidate=43200,stale-if-error=43200" "expr=%{REQUEST_STATUS} < 400"Header set Age 0</LocationMatch>Cache Rule for Client Libraries (CSS/JS):<LocationMatch "^/etc\.clientlibs/.*\.(?i:js|css|ttf|woff2)$">Header set Cache-Control "max-age=1800,stale-while-revalidate=1800,stale-if-error=1800,public,immutable" "expr=%{REQUEST_STATUS} < 400"Header set Age 0</LocationMatch>Issue Observed:Since the HTML and client libraries are cached for different durations, a mismatch occurs when the HTML refreshes before the clientlibs. Specifically:When the HTML updates, it references the new clientlibs ID.However, the browser sti
Are there any gotchas getting session from ResourceResolver Util code :public static ResourceResolver getRR(org.apache.sling.api.resource.ResourceResolverFactory factory) { ResourceResolver resolver = null; Map<String, Object> param = new HashMap<>(); param.put(ResourceResolverFactory.SUBSERVICE, "subservicename"); try { resolver = factory.getServiceResourceResolver(param); } catch (LoginException e) { log.error("Login Exception :{}", e.getMessage()); } return resolver; } service code :@3214626 private org.apache.sling.api.resource.ResourceResolverFactory rrFactory; public void someMethod(){ try (ResourceResolver resolver = MyUtil.getRR(rrFactory)){ Session session = resolver.adaptTo(Session.class); etc... session.save(); } is this session thread safe, do I have to watch for concurrency, etc... ?
Before we were using Asset Java APIs to create assets in Java, but it looks like that is deprecated. I saw from another post that we'll need to use aem-upload: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/developer-reference-material-apis#asset-upload I'm confused on how we're supposed to use aem-upload in Java, it doesn't seem to be a Java API. Is it even possible? Appreciate if anyone can include an example I can reference.
Can we create nodes in the cq dialog at runtime?The requirement is the dialog initially would only have a single dropdown with few fixed fields. So, when an option from the dropdown is selected let's say a value great is selected so when this action happened in the dropdown now it should map the value great to a json which has which component does great map to. Let's say great --- > mapped to "textfield". Now as soon as the backend mapping is done there should be a node created in the same dialog below the dropdown referring to textfield. Can someone help with the approach. we have tried few approaches, but any leads are welcome. TIN
Hi I am using AEM Cloud. I want to send email notification to owner and one team when an asset version is created. This email template should be from crx/de. How can i include email template in the workflow step and where can i create email template in crx/de? How to make some of the fields configurable in aem wf model ? one more question : Is implementing launcher or creating event is recommended to start the workflow on an event. @arunpatidar
Hi,I have a requirement to create dynamic URLs that aren't available as pages in AEM. We're generating these URLs from the backend and displaying them on a page. Currently, I've created a page (test-sitemap.html) with a component that includes a "Generate" button. When users click this button, the URLs are created in the Java backend and displayed on the test-sitemap.html page.Now, I need to add these generated URLs to the main sitemap.xml. Could you please help me with the process of linking these URLs to the main sitemap.xml?Thank you!
We have a Rollout configuration "updateContentActionFactory". In side that, there is a property "jcr:.*". I am able to rollout jcr:title, jcr:description, ... for the first time rollout once I create a page. I am unable to rollout the same properties by updating from next rollout onwards. We want to rollout the jcr:title, jcr:description.. etc properties to some pages even there is "updateContentActionFactory" configuration. please suggest me if there is any possibility to do so.
What do you think about this expression syntax?<%<% if (<recipient.age >= 40) {%>Good morning <%recipient.firstName! %> <%}else if (<FIELD>==<VALUE>) {%>Hi <%recipient.firstName %> <% }%>
Hi All, Hope You are doing great ! I am trying to display a list of campaigns executed in a day. For this I created an HTML table to show the campaign labels, delivery labels, Success counts etc. As shown in the screenshot, my workflow includes activities where I fetch data from the delivery schema, alias the required fields in the "Final Data" named enrichment activity, and then used JavaScript to retrieve these fields. I then apply a query activity with the Recipient schema to define the target audience. While the alert activity works fine after the JavaScript step, placing a delivery activity after the Recipient query causes the delivery to fail. Could you suggest a solution for this issue? WF - JS Used - var query = xtk.queryDef.create (<queryDef schema= "temp:enrich22" operation="select"><select><node expr="contact_date"/><node expr="country"/><node expr="delivery_label"/><node expr="msg_to_send"/><node expr="suc
Hi everyone, I am trying to integrate react in AEM project wihtout spa-editor. I have gone through this following community posts - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-integrate-react-into-a-non-spa-aem-6-5-project/td-p/619537 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-integration-with-react-without-spa/td-p/395514 I have tried to use react-abode npm package but got build failure. Haven't tried react-habitat package though, it seems way too old (last commit was 8 years ago). Also it doesn't support functional react component. Can anyone share a working repo of non SPA React implementaion?
Hi Community, I am trying to create a graphQl endpoint using the https://www.graphql-java.com/documentation/getting-started/ . So I'll be writing this sample code in Servlet and trying to print the same response {hello=world} using the Servlet endpoint.But when I am adding the dependency, the bundle is never active when I run the core maven build and always fails during the full build.Could you help me with what I am missing here?Thank you,Prince
I want to upload/create renditions for spatial video and photo in mov format in AEM dam. Could you please help me that how can I achieve it.
I'm trying to run report with a daterange get from GET /daterange API From Adobe Workspace debug mode I got this request, which include both dateRangeId and dateRange. But what if I only know dateRangeId? Or do I need to calculate dateRange by myself and send request with "dateRange" field? { "rsid": "microstrategytech-stg", "globalFilters": [ { "type": "dateRange", "dateRange": "2025-01-01T00:00:00.000/2025-02-01T00:00:00.000", "dateRangeId": "lastFullMonth" } ], "metricContainer": { "metrics": [ { "columnId": "0", "id": "metrics/occurrences", &n
Description - The Job Role object appears to have the DATA_EXTENDABLE flag in the Workfront API. It would be very useful in the UI to allow custom forms/fields to exist on the Job Role object. Why is this feature important to you - Much of our organizational KPI metrics are based on Job Roles. As such, many of our Workfront reports use the Job Role as either a filter or a grouping depending on the report. To give some examples, our Job Roles can have different metrics like expected hours, anticipated performance goals, sustainability metrics, among other organizational-specific items. Right now, I have to pull Workfront reports out to Excel, and then cross-reference/VLOOKUP against my standard metric list before presenting the reports to leadership. A custom form/fields would allow me to display this data natively in a Workfront report/dashboard. How would you like the feature to work - Allow adding custom fields/forms to the Job Role o
Hi all,We got a requirement to run workflow on parent page to cancel inheritance for child pages of a parent page the inheritance should cancel for child page properties and child page components what's the best way to do this, do we need to iterate through all child pages and then iterate through components of page and do cancelinheritancewas there any other way to acheive this.Thanks in advance
we need to sort pages alphabetically on for specific folders. I tried to overlay the OOTB path /libs/wcm/core/content/sites/jcr:content/views/column/datasource to /apps but it doesnt seem to work because the sling:resoureType of libs folder path is cq/gui/components/common/wcm/datasources/childpages and i couldnt find this path in my aem. I tried to add jsp code here : /apps/cq/gui/components/coral/admin/page/columnitem/columnitem.jsp. we have used this jsp to manipulate the page names and title. But for this requirement this also doesnt seem to work. can someone help me with this ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.