Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
Hello, I am upgrading from AEM 6.4 to AEM 6.5, what happens is that the vanityPaths are not being generated automatically (in version 6.4 it worked without problems). I suspect it has to do with the class that implements EventListener private Session session;@3214626private ResourceResolverFactory resourceResolverFactory;private static final String SUBSERVICE = "readAccess";@580286public final void activate(ComponentContext context) throws RepositoryException {log.debug("Activating PropertyAddedObservation");String[] nodetypes = {"cq:PageContent"};Map<String, Object> authInfo = Collections.singletonMap(ResourceResolverFactory.SUBSERVICE,(Object) SUBSERVICE);try (ResourceResolver administrativeResourceResolver = resourceResolverFactory.getServiceResourceResolver(authInfo)) {session = administrativeResourceResolver.adaptTo(Session.class);session.getWorkspace().getObservationManager().addEventListener(this, Event.PROPERTY_ADDED,Constants.CONTINGENCYPATH, true, null, nodetypes,
We want to setup our local sonarqube server similar to what is running on AEMCaaS. We are able to setup the sonarqube server and use AEM latest plugin(from sonarqube marketplace). But there are many rules which are not covered by the AEM plugin or the Default profile. 1. From where can I get the profile having complete rules similar to AEMCaaS?2. Which sonarqube server version is used at AEMCaaS ? Latest LTS is 8.9.7 but seems like AEMCaaS is using some older LTS release.
AEM Commerce As Cloud Service with CIF Add-On by codingwithtea Abstract In this post we will discuss how to setup the AEM commerce as a cloud service with CIF add-on. Setup of AEM commerce as a cloud service : A local development environment is recommended to work with CIF projects and how to setup one is explained below: Prerequisites: Some of the prerequisites for the setup are : 1. AEM as a Cloud Service SDK 2. Java 11 3. Node.js 4. npm 5. Magento Instance URL First of all , the latest CIF add-on should be downloaded from the Software Distribution portal. It is a zip file which contains the respective far file as add-ons for author and publish instance. Now follow the steps below : 1. Make sure you have the latest AEM as a cloud service SDK. 2. Unpack the jar by running java -jar -unpack in the command line to create a quickstart folder. 3. Once the quickstart folder has been created , go inside it and create a folder named install. Read Full Blog AEM Commerce As Cloud Se
OSGi Bundle States in AEM by codingwithtea Abstract OSGi is a fundamental element in the technology stack of AEM. It is used to control the composite bundles of AEM and their configuration. OSGi “provides the standardized primitives that allow applications to be constructed from small, reusable and collaborative components. OSGi OSGi is a Java framework for developing and deploying modular software programs and libraries. OSGi has two parts. Bundles or Plug-in Java Virtual Machine (JVM)-level service registry. In this article, we will focus on bundle states only. A Bundle object is the access point to define the lifecycle of an installed bundle. Each bundle installed in the OSGi environment must have an associated Bundle object. A bundle must have a unique identity, a long, chosen by the Framework. This identity must not change during the lifecycle of a bundle, even when the bundle is updated. Uninstalling and then reinstalling the bundle must create a new unique identity. A bun
AEM Dispatcher Setup Using Docker - Windows by codingwithtea Abstract The AEM as a Cloud Service SDK includes the recommended Dispatcher Tools version, that facilitates configuring, validating, and simulating Dispatcher locally. Dispatcher Tools is comprised of: a baseline set of Apache HTTP Web server and Dispatcher configuration files, located in .../dispatcher-sdk-x.x.x/src a configuration validator CLI tool, located at .../dispatcher-sdk-x.x.x/bin/validate (Dispatcher SDK 2.0.29+) a configuration generation CLI tool, located at .../dispatcher-sdk-x.x.x/bin/validator a configuration deployment CLI tool, located at .../dispatcher-sdk-x.x.x/bin/docker_run a Docker image that runs Apache HTTP Web server with the Dispatcher module Prerequisites: Windows users must use Windows 10 Professional. Install Experience Manager Publish Quickstart Jar on the local develop machine. Please refer local set-up. Install and start the latest version of Docker (Docker Desktop 2.2.0.5+ / Docker Engine
AEM top 3 challenges from the customer’s point of view by digitalum Abstract In order to tackle customer’s concerns, Adobe has had hundreds of conversations with customers over the past years. As a result, Adobe is offering solutions like new features and robust implementations to meet the client’s needs. We’ll explore the 3 main obstacles in-depth along with Adobe’s solutions, so you can focus on creating carefree experiences. 1. Agility to drive success The grievances How can we do things faster? Time is money! Some of the challenges Adobe keeps hearing is: “Why can’t we do things faster?”. Clients note that backend and frontend are coupled together. Things can’t go faster because everything is a waterfall during development. Things must be done in a sequence. There is a lack of flexibility and agility: how can sequences be parallelized? How can clients get all of their project teams working in a concurrent path to reduce the overall lead time. Last, but not least, measuring, is th
AEM ui.frontend Module: Code Splitting, Dynamic Imports and TypeScript by LUCIO POVEDA BERTOS Abstract Breaking Down the Monolith Nowadays being performant on page load is critical. A fast page load speed is critical to acheive a strong SEO ranking and Lighthouse score. A common way of decreasing the time it takes for a page to load is reducing the page's file size using minifiers and compressors. These tools do a great job of reducing the size of the files, but we can go even further to make sites run even more effiiently. As I'll describe below using a technique offered by most bundlers, Code Splitting, that divides large JS bundles into smaller modules that can be lazy loaded as needed, developers can improve page load spead and deliver updated content even more efficiently. At the same time, code splitting will provide the additional benefit of not having to re-load a huge bundle every time there is a small change on a single file/component. With a split bundle the browser will kn
Hi, I am trying to develop sitemap scheduler with apache sling sitemap, I just added this configuration in config.publish like this { "scheduler.name": "My Daily Sitemap Scheduler", "scheduler.expression": "0 0 2 1/1 * ? *", "searchPath": "/content/dumysite"}I didnt add dispatcher configuration in filters.any, rewrite.rules, will sitemap works without dispatcher configuration.
Hi All, I am trying to integrate SAML to AEM for this I have followed below Azure article. I have done all the steps. When I try to test the url it throws the below error. can someone help me ??https://medium.com/adobetech/saml-authentication-in-aem-using-microsoft-azure-active-directory-30d668338a8f Error :
If you have questions, or want to chat more about something you heard in Experience Makers the Skill Exchange event on April 13th, you in the right place! Let's keep the conversation going - leave a comment below with one of your favorite tips and tricks you heard, or with any unanswered questions. Feel free to tag the speaker of the session if it's specific to their presentation. Thanks to those who were able to join us, and thank you to our wonderful expert speakers! I imagine the biggest question is - was this recorded?! The answer is YES. The recording will be available next week to anyone who pre-registered. If you did not register in advance, we hope to post the archived files to Experience League at some point soon. Stay tuned!
Hi Team, I have created simple form it contains 4 fields like First NameLast NameDOBGender After submitting i need to call servlet to send this to some other system. How i can send these data to my custom servlet I have created my path based servlet and path is /bin/aem/customerdata Can some one help me here
Hello, I am looking into AEM forms and would like to set up a local environment where I could learn more about this product. I found the documentation explaining architecture here https://experienceleague.adobe.com/docs/experience-manager-65/forms/install-aem-forms/aem-forms-architecture-deployment.html?lang=en I see that there is an AEM publish where form is submitted, processing instance and author instance. Is there a documentation that explains how to set it up? Where and how set up replication agents to meet forms requirements? Maybe some examples?
Hello Everyone,Currently we are on AEM 6.3.2 and we have been using static templates to create the content (created around 10,000 pages only in English language). Recently started using editable templates and wants to migrate the conten. So, Is there any way to convert existing pages created using static templates to editable templates?can you please provide me the available options and any useful links to follow .Thanks,Narayana
Hi all,I'm new in Adobe EM and I'd really appreciate some help. I would like to know how Adobe EM manages the user sessions...I have a site with several pages. I was able to validate user credentials against the repository (login process) but I don't know how to manage this between the different pages because currently when I navigate to another page I lose my credentials. I need to know this because I would also like to add a shopping cart so navigation between pages doesn't lose the user credentials and the products selected by the client.Any ideas? Is there any documentation I can check?Thanks in advance for your help!Best regards.
AEM Cloud Service - Url Shortening of React SPA by Sreekanth Choudry Nalabotu Abstract Goal Adobe Experience Manager 2021.10.5933.20211012T154732Z-210900 (Oct 12, 2021) This post is on making necessary changes in React SPA generated by the maven archetype (https://github.com/adobe/aem-project-archetype) to shorten the URLs eg. /content/eaem-spa-short-urls/us/en/home.html to /us/en/home.html Solution 1) Create the React SPA maven project using following command... mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=31 -D aemVersion=cloud -D appTitle="Experience AEM Short URLs" -D appId="eaem-spa-short-urls" -D groupId="apps.experienceaem.sites" -D frontendModule=react -D includeExamples=n -D includeDispatcherConfig=n 2) Create script eaem-spa-short-urls\ui.frontend\src\components\appConstants.js with the following code to give App root url... ? 1 export const PROJECT_URL_ROOT = "/content/eaem-spa-short-url
Experience League LIVE is a live streaming show produced by the Experience League team. It’s a chance to connect with Adobe product experts and learn actionable tips, tricks, and strategies you can apply with the Adobe Experience Cloud applications. In this Experience League Live episode my guests will be: Don Huyn - Product Manager - Adobe Journey Optimizer andArchana Chaudhary - Sr Manager Software Development I will be talking with Archana and Don about the common use cases for push notification with Adobe Journey Optimizer and dive into the technical details on how to configure an app for Push powered by Adobe Experience Platform. What: ExL Live Event: Push notifications with Journey Optimizer - How to easily configure your mobile app for push When: May 12th, 9:30 am PTWhere: https://www.youtube.com/watch?v=t36Xjhukmro - No registration required! We are looking forward to seeing you there.
Hii, I am using assertEquals(expected, actual ) but when I run my test case my actual value was showing as null.Error: Sling Model:
Fingers cramping up from all the clicking you are doing to clone that boatload of programs? Learn how you can automate the cloning of programs using the API and Zapier according to monthly, quarterly, or yearly cadences. Why should I clone my Programs? I am guessing that your company, like my own, likes to sync programs to Salesforce campaigns to enable campaign influence reporting in Salesforce. One reason you might want to periodically clone is to get greater resolution into campaign tracking to improve your multi-touch attribution modeling. Due to the way that programs are set up, once someone becomes a member and gets added to a campaign in Salesforce if they do not change status we have no way of knowing if they interacted with that campaign again. For example, if you have an attribution campaign that tracks visits to your website from Google and puts people in the visited status in the "Orga
Hi Everyone, We would like to hear your experience of using the Adobe Analytics product. Feel free to post your feedback on this post and we would make your voice heard.
How to start AEM in debug mode? by Rashidjorvee Abstract There are multiple approaches to start or tune AEM instance in debug mode. we will cover few of them in this tutorial. We coudl start AEM using the command pormt by using the below command line. java -jar aem63-author-p4502.jar -debug <port#> Another way to start tune AEM instance in debug mode is we could update the start.bat file and start AEM by clicking on the start.bat file in crx-quickstart folder. To do so we have to do the following. First we need to update the start file; go to \crx-quickstart\bin\start.bat and append this command "-debug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<port#>" with line 25, default JVM options. Save the file Now double click on the start.bat file to start your AEM instance. @echo off :: This script configures the start information for this server. :: :: The following variables may be used to override the defaults. :: For one-time
Generate id for AEM components by Anirudh Sharma Abstract We all know that when we add an AEM component to a page, it creates the DOM structure on the pages based upon our HTL file. Sometimes we require id attribute to be set in our div for n number of reasons. If we put id attribute in the HTL file itself then it will become static and if in include that component multiple times on the page, the same id will be repeated for all instance; which is not a neat solution. Wouldn't it be nice if we have a mechanism to generate an id randomly and uniquely for each instance of the component on the page? In this post, we are going to do just that. Hence, without further ado, let's get started - Step #1 Create a component that will have the field for unique id. We are making this id editable as well to give more flexibility to the content authors. Below is the cq:dialog.xml file -
Workflows in AEM 04 - MetaDataMap by Abstract Sometimes we are faced with a situation where we need to pass data from one workflow step to the another. AEM's workflow API provides an easy way to achieve this using MetaDataMap. Please note that only primitive data types like Integer, String etc. can be passed from one step to the another. If you have a requirement to pass non-primitive data then use the byte[] array. Caution: If the data to be passed is too large, refrain passing InputStream. Instead, a better approach is to save the data in a JCR node in the step and retrieve it from the JCR node in a later step. A MetaDataMap is the data structure which acts as a value map and allows users to set and get data among the steps. Code example Let's see a code example to demonstrate this concept. Here we will be using two process steps. In the first, we will be passing data and in the second, we will be retrieving it. FirstProcessStep.java package org.redquark.demo.core.workflows; im
Bundle is NOT whitelisted in AEM by Rashidjorvee Abstract While using the loginAdministrative() method of SlingRepository class you might see an error "Bundle is not whitelisted". To get this method work we have to whitelist the bundle in OSGi configuration "Apache Sling Login Admin Whitelist" this helps us to defines which bundles can use SlingRepository.loginAdministrative(). Below is the code snippet of creating session using loginAdministartive method. @Reference private SlingRepository repository Session session = repository.loginAdministrative(null); Read Full Blog Bundle is NOT whitelisted in AEM Q&A Please use this thread to ask the related questions.
AEM Proxy Component Pattern and Component Versioning by Suryakand Abstract Most organization want to keep content and user experience flexible so that they can innovate and deliver new experiences/features faster. Flexibility allows organizations to reuse what has been built already and keep adding new features and functionalities on top of it. One of the key characteristics of flexibility is backward compatibility and non-breaking changes. This flexibility comes with a clear definition of a strategy for content creation and user experience. In this article we are going to look at 2 very simple but powerful component development strategies that organization (specifically technical teams) can adopt to win the flexibility game and stay ahead in competition of delivering rich user experience. Let’s start with a scenario/problem statement. Assume that a large banking organization has business in multiple countries. The organization is using AEM and MSM (Multi Site Manager) to manage
AEM Experience Manager(AEM): Content Sharing Approaches by Albinsblog Abstract In most cases, we need to share the CMS content with external systems to support the Omni channel's headless experiences or other use cases to support content sharing. In this post, let us see the options available to share the AEM content with external systems. GRAPH QL: The graph QL API shares the content fragments to enable the headless content experience with the external system. The structured data can be managed through Content Fragments in AEM and shared through Graph QL API to support the omnichannel experiences. The latest AEM 6.5 and AEM as a Clod Services versions support Graph QL API; the Graph QL API currently supports only exposing content fragments externally, not for the regular page content. Refer to the following URL for more details on using Graph QL to API to share content fragments with external systems — https://medium.com/tech-learnings/how-to-deliver-headless-content-through-graph
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.