Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
We are looking for guidance on the best approach of a replication push notification. What does AEM have to offer in regards to trigger push notification on all replication events (new,modified,delete,etc...).We require a mechanism, where a replication event (also for multiple pages at the same time or tree activation) provides all necessary information on a resource that is being replicated. This must at leas include it's path and the type of the event.Thank you for any advice in advance.
BackgroundIn my project, I am working on caching control for downloadable assets in AEM. I have written a cache rule to handle assets with URLs following these patterns: Example URL for myprojectdownload assets:https://dev-publish.myproject.com/content/dam/myproject/path/subsi/public/en/downloadsmajor-resolutions-of-board-meetings/112%A0%85.pdf.myprojectdownload.pdf/%85_112%E5%B9%B4 Example URL for coredownload assets: https://dev-publish.myproject.com/content/dam/myproject/path/subsi/public/en/downloadsmajor-resolutions-of-board-meetings/112%A0%85.pdf.coredownload.pdf/%85_112%E5%B9%B4 Implemented Cache RuleTo ensure these assets are cached correctly, I have added the following LocationMatch rule in the Apache configuration: <LocationMatch "^/content/dam/.*\.(coredownload|myprojectdownload)\.(?i:pdf).*">Header set Cache-Control "max-age=95400, stale-while-revalidate=1800, stale-if-error=43200, public, immutable" "expr=%{REQUEST_STATUS} < 400"Header set
If we download any assets as zip file in AEM using either AEM out of the box download asset feature or calling ' /content/dam/collections/public/I/IeX-vp9Jj2OvVBSyd58l/nameofcollection.downloadbinaries.json', using JS, they are stored in var/dam/download. we observed that they are automatically removed from var/dam/download in 24 hours. Please help us find documentation about the same that any zip files created under var/dam/download will be automatically deleted by AEM it self or do we need to specifically write a servlet or scheduler to delete it after given time to maintain the performance and not to load AEM. Also, If yes, will it automatically delete in both AEM author and publisher?We are using AEM as Cloud.
I have done some testing in the past, but unsure now of the result I got and my new testing it causing me to go in circles! In requests/issues, does the user see their Home Group Statuses or the Statuses of the Group that is assigned to the Project Request Queue?
I created a custom metadata schema under metadata schema forms with new metadata properties and applied it to a DAM directory where I'm working. However I get an error "Unable to edit properties. Insufficient permissions." if the asset doesn't already have the custo metadata properties. (it works for files that have been previously custom metadata properties) How do I set it up to create the metadata node for files without the custom tags when using the TagUI?
I am building an application where the content of the page will differ based on a user cookie that specifies details of a subscription level. the components read the cookie and can change what they display based on it, however I still want to implement some caching on the site at the dispatcher to improve performance. Is there a way in the dispatcher cache of caching variations of the content based on the value of a cookie, or a header?
Dear Community I have an IndividualProfile schema. I went on to create a dataset and tried to ingest data into the dataset. There is one field which is string in my CSV file in which I want to convert to DATETIME in AEP. During ingestion, I have used a calculated field to calculate the string data into DATETIME. It shows there was no error but the data that was shown came out to be blank. Please guide me into resolving this and being able to ingest String into DATETIME. Please let me know if you need anymore information. Best regards,Sching
Hey Everyone! I'm new to Fusion and I'm trying to troubleshoot this error that keeps coming up on this template for making an update on project once a proof decision has been made. It's saying I'm missing the value of required parameter objID. But I'm not exactly sure which object it's referring to. Any help would be great! Also, if you know of any tutorials that aren't related to pulling in data from a spreadsheet and that apply to actual Workfront objects - please share!
Hey guys, Hope everyone is doing well. I am wondering if there is a way to use multiple Sharepoint URLs for a single Github Repo. For example, I have this sharepoint URL in my main branch: mountpoints:/: https://mycompany.sharepoint.com/:f:/r/sites/WebsiteProjects/Shared%20Documents/website And this one in my staging branch: mountpoints:/: https://mycompany.sharepoint.com/:f:/r/sites/WebsiteProjects/Shared%20Documents/staging Is it possible to do this? The use case for this is that we might need to separate out the content sources for different environments. Has anyone done this before? Thanks.
Is there any plan to add Generate Variations feature in AEM On-Premises version? Is there any ETA?
I’m trying to include an author-only client library in AEM so that it loads only on Author and never on Publish. Right now, it’s getting loaded on Publish unless I manually disable it with ?wcmmode=disabled, which isn’t ideal.I've tried Checking wcmmode (Edit/Design Mode) <sly data-sly-test="${wcmMode.edit || wcmMode.design}"> <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"/> <sly data-sly-call="${clientlib.css @ categories='mySite.author'}"/> </sly> This only works when ?wcmmode=disabled is used, but I need something that actually detects if it’s Author vs. Publish.
Hi Team,Any idea, how can we get daily volume of REST API in adobe live cycle Workbench
Hi all, AEMaaCS has a dynamic architecture with variable number of images.The architecture is scaled up/down based on actual traffic and actual utility. What does an image contain exactly? If it is an entire AEM server, it results in a huge duplication with number of images. Appreciate your replies. Thanks,RK.
I have a solution implemented that is described here: Moving assets to PIM system - HTTP API the correct choiceFrom a high level I have a custom workflow step that calls an API and sends the assett. This workflow is triggered from users placing the assets in to a "monitored" directory. This works fine unless the user drops a large number of files into directory all at once. Then a random amount of them fail and the failure is socket closed errors when sending the file. This causes 2 things, it either results in multiple versions of the file sent because even though it gets a socket closed exception the file did actually send or it doesn't send the file at all if it fails on the connect vs the send. Here are the results of some logging:15.01.2025 09:47:38.019 *INFO* [JobHandler: /var/workflow/instances/server1/2024-12-21/publish-to-pim_415:/content/dam/pim/test_10025/SGCO_91070_0520_Cooler_GreyRed_Studio_4 low.jpg/jcr:content/renditions/original] com.cd
I have found documentation that I can nest collections in AEM Assets. Can I do the same thing in Brand Portal? And if so how? I want to be able to do this directly in Brand Portal. Not create it in AEM Assets and then push it to Brand Portal.
Hello Team, I have created Adobe IO runtime project and trying to run in my local system. But, my logic is not picking the environment specific details.Here is the .env file dataAIO_RUNTIME_AUTH=12345678AIO_RUNTIME_NAMESPACE=123456-poc-testingNODE_ENV=development My node js file has // Import the dotenv package to load environment variables import dotenv from 'dotenv'; dotenv.config(); // Import default configuration import defaultConfig from './default.js'; // Dynamically import the environment-specific configuration const env = process.env.NODE_ENV || 'development'; console.log("end file is:",env,process.env.NODE_ENV); const envConfigModule = await import(`./${env}.js`); return envConfigModule.default; // Export a function to get the merged configuration const envConfig = await loadEnvConfig(); console.log("defaultConfig",defaultConfig) return { ...defaultConfig, ...envConfig }; Here, instead of giving the data from development.js file, I am ge
I'm working on an AEM as a Cloud Service project where I have cache-control rules set in the response headers.I receive the following headers in my response:accept-ranges: bytesage: 76cache-control: max-age=1800, stale-while-revalidate=1800, stale-if-error=1800, public, immutablecontent-encoding: gzipcontent-length: 27820content-type: text/css;charset=utf-8date: Thu, 06 Feb 2025 13:47:49 GMTlast-modified: Thu, 06 Feb 2025 13:46:28 GMTstrict-transport-security: max-age=31500vary: Accept-Encodingx-cache: HITx-content-type-options: nosniffx-frame-options: Originx-served-by: cache-BOMx-timer: VE13x-vhost: my projectHowever, I'm noticing inconsistent behavior with the x-cache header. In some cases, when served by certain CDNs (e.g., x-served-by: cache-BOM), I see x-cache: HIT or x-cache: MISS, indicating whether the request was served from cache.But with other CDNs (e.g., x-served-by: cache-Hyd), the x-cache header is completely missing from the response, even though the response clearly in
Currently we are integrating the 3rd part integration for which we need to download the dependency from the password protected url. And added password in the cloud manager pipeline variable but still I am getting the 401. Can you help if there is any other configuration we need to do. Thanks in advance !!!
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?
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
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, 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
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... ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.