Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
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 ?
What exactly is the sessionID parameter in the Delivery API request call? https://clientCode.tt.omtrdc.net/rest/v1/delivery?client=clientCode`&sessionId=d359234570e04f14e1faeeba02d6ab9914e\ -H 'Content-Type: application/json' \
Hi everyone, could someone give me advice on how to pass the CJA Business Practitioners certification? Any documentation or additional topics I can read about are extremely important to me.
I'm trying to find someone ASAP to help me get up to speed on using the ACDL and to get the data into Tags/XDM. I have experience with populating XDM using update variable and data elements etc. but I need to understand better how to create and consume and map the data in Tags, when using an EDDL. The below video would have been perfect if he spent more time showing how everything was setup and mapped etc. https://experienceleague.adobe.com/en/docs/events/adobe-developers-live-recordings/2021/oct2021/adobe-client-data-layerI have the basics down and I've watched a ton of videos and read documentation, but I still have some holes in my knowledge and need to have a few hours with someone that has this experience. Can anyone recommend someone to me. I need this help!!!! Thanks!
Hi all, I see duplication of other Adobe functionality in AEP.Ex: Customer Journey Analytics mimics Adobe Analytics and Journey Optimizer mimics Adobe Campaign. 1. How to choose which of these could be used and why.2. Also, is there any other duplication in AEP, apart from these two? Appreciate all your replies. Thanks,Rama.
I am getting following error while deploying my package to aem rde env from aem cli [bundle-unversioned-packages] com.adobe.acs:acs-aem-commons-bundle:6.10.0: Bundle acs-aem-commons-bundle:6.10.0 is importing packages [com.amazonaws.services.s3, com.amazonaws.auth, com.github.benmanes.caffeine.cache.stats, twitter4j.json, twitter4j.auth, twitter4j.conf, twitter4j, com.amazonaws.services.s3.model, com.github.benmanes.caffeine.cache] without specifying a version range. (com.sbuxcorp:aem-sbuxcorp-project.all:0.0.6-SNAPSHOT|adobe/consulting:acs-aem-commons-all:6.10.0)
hello all, I'm trying to create an audience rule in Target to filter out users based on IP address. I've seen it accomplished in the past using a profile script like this: user.header('x-cluster-client-ip') which would fetch the user IP address. However, I'm not seeing this working in action. does anyone have advice on how this could be set up ?
Hello Community Members, We are looking to configure a Time-to-Live (TTL) for pseudo-anonymous profiles based on multiple identity attributes. Proposed Logic: If a customer has any identity beyond Device ID, ECID, Email_LC_SHA256, or Phone_SHA256, their profile should not be deleted. However, if a profile contains only these four identities in any combination, it will be considered anonymous and subject to deletion after 90 days of inactivity. When I say "combination," I mean any permutation of the four identities. Example Scenarios: A profile with only ECID → Deleted after 90 days of inactivity. A profile with Email_LC_SHA256 and ECID → Deleted after 90 days of inactivity. A profile with Email_LC_SHA256, Device ID, and ECID → Deleted after 90 days of inactivity. Question: According to Adobe’s documentation (Experience Platform Pseudonymous Profiles), profile expiration applies only if the identity graph consists of identity namespaces selected by the customer (e.g., ECI
Introduction The Adobe Customer Journey Analytics (CJA) Experimentation Panel is an Analysis Workspace template that empowers organizations to analyze and interpret their A/B tests and multivariate experiments within the CJA ecosystem. This specialized Analysis Workspace panel serves as a gateway to deep experimentation insights, enabling organizations to comprehensively understand how various iterations of their digital experiences influence user behavior patterns and drive business outcomes. Through its template framework for experimentation analysis, the panel enables businesses to make data-informed decisions with confidence and precision, leveraging advanced statistical methodologies and intuitive visualizations. To maximize the value of these experimental insights across your organization, it becomes paramount to establish strong alignment within your analytics and measurement teams regarding the specific experimentation approaches and methodologies being employed, ensur
Hey Everyone, Context: Our team is currently trying to optimally setup a client's project, and we want to create a smooth CI/CD system which will take into account both the development side of contributions as well as the actual content authoring side (client side) of the flow. The tooling and process we're utilizing is as such (see attached screenshot as well of our current infra thinking & layout):- Document/Content Authoring & Asset Management = Sharepoint- Version Control and Development Organization = GitHub- Deployment and CDN = AEMaaCS (were using Edge Delivery) As for utmost safety in a project and to prevent unwanted mistakes, multiple environments should exist ideally. But so far this is understood by our team as such:- Feature branches take in local code changes/pushes- Merge into a Staging branch- Merge into QA or Main from which it goes to a production pipeline- The pipeline is triggered from main- Pipeline deploys to production (.com) site
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.