Skip to main content

Ideas

Filter by idea status

10000+ Ideas

Simulation Mode Experience not working as intendedNew

Adding this product enhancements request for a customer - Background: Journey testing has been a significant hurdle for our organization.  We are unable to use dry run fully as we have API calls to manage our opt outs and dry run stops working when there is an API call.  Test mode is very limited because we, as a product team, do not have access to build test profiles in AEP to match the journey strategy scenario - business rule decision. It requires one of our engineers to manually build them for us, and we need to put that request in far ahead and we are unable to adjust test profiles in the midst of a testing cycle.  With this, we have limited access to test mode.   Simulation Experience and Requests: When simulation mode came out, we were very excited as it "solved" all our issues.  It is a valuable tool to streamline the testing process and also to ensure we are testing all potential scenarios.  With test mode (prior to simulation mode), we would require 2-3 sprints of time (4-6 weeks) to have test profiles developed, and we were not able to pivot on the fly.  With simulation mode, we are able to test faster and in more real time.  Simulation mode also allowed us to see the reason "why" each test profile did what they did.  The idea of simulation mode is extremely valuable; however, could use some enhancements to ensure the AI tool does not hallucinate (see support case details below).    MOST IMPORTANT: Allow for the client to describe what the journey "should do," what each node is supposed to do, or even what outcomes the AI tool should build a profile for.  Without this feature, the AI tool created profiles that automatically passed all scenarios even when, in real life, they all failed.  We should be able to produce a "testing prompt" to ensure we are testing what we want to have happened. Provide more helplets to understand that if you choose not to have all test emails come to your email that they will go to an @example.comaddress.  We received notes of concern from our Adobe Deliverability manager that we had a high rate of non-deliveries to the @example.comdomain which was coming from our simulation tests.  Also, there is a false understanding that these are temporary test profiles.  Simulation did not create temporary profiles and were logged into our schema.  We were able to query them and all the engagement data.  This could cause an issue with schema size limits.     Overall, this tool is very important for the future of efficient and effective journeys and it will come in very handy as we become more sophisticated with our Decisioning features, but before we start using it again, we will need to be able to control the simulation more.   Support case detail  Case number: E-002454700 Details: In testing our journeys in AJO we have started using the AI assisted simulation mode. We use this prior to launching tests live in production and primarily do this as dry run does not work for us with our API calls. Simulation mode does offer a great benefit of being able to develop, on the fly temporary test profiles, that match the needs of our journey. However, we have encountered a series of issues with the tool that is rendering it unusable for our organization. We need your assistance fixing these issues:We recently ran out new journeys through simulation mode with success. Each test profile made it through the journey successfully and so we launched. After launching we had to revert and close all out journeys are they were not working. Here are the issues we encountered: we tested all of our journeys which includes nodes tied to API calls and email validation checks. Each of these checks passed the simulation mode and then immediately failed in the live environment and cause all our profiles to exit the journey. We received our weekly deliverability assessment and found that we had a large qty (~270) emails being delivered to @example.com. This is the email domain that the simulation tool sends to if you choose not to use your own email address. Our Ultimate Success team member said that simulation mode needs to be run in a testing environment with test IP addresses but that AJO does not have a dedicated testing environment. Also, for our implementation we are not seeing these test profiles show up as temporary. We are able to query off for the data in AEP. These three issues are indicating that simulation mode is not behaving as intended. We are asking to help to see why the new feature is not working.

Many-to-One (N:1) schema relationships between non-B2B XDM schemasNew

I would like to share a key feature enhancement request for Adobe Experience Platform (AEP) Real-Time CDP architecture regarding data modeling flexibility. Ideally for B2C, B2B & B2P editions as we have consolidated all into single Prod & Dev sandboxes as advised by Adobe Ultimate Support.The Feature Upgrade:Enable native Many-to-One (N:1) schema relationships between non-B2B XDM schemas. This will allow multiple custom data records to link directly to a single parent account record within standard XDM profiles, without requiring both B2B XDM classes.Use Case & Business Need:Current Scenario: We have custom data entities (e.g., competitor products, telemetry, certifications) where multiple rows of data map to a single core business account. The Problem: Standard non-B2B XDM schema relationships are restricted to lookup options, which force data into arrays. This results in complex architecture and confusing schema building UI. Proposed Solution: A flexible parent-child relationship model that natively links N custom data rows to 1 parent account row in the Profile Service.Value & Impact:Cleaner Data Architecture: Eliminates the need for complex array manipulation. Smarter Audience Segmentation: Allows segment builders to have distinct paths to attributes, and creates cleaner backend data models. Speed to Value: Avoids architectural re-engineering/forced schema workarounds just to support custom relational data models.

AI Agent Architecture for AEM Assets Metadata ManagementNew

Managing enterprise-scale Digital Asset Management (DAM) requires more than traditional repository searches. With millions of assets, organizations need intelligent, scalable, and governed metadata management.This architecture introduces an AI Agent-based approach for Adobe Experience Manager (AEM) Assets:🔹 Business Users interact through chat interfaces or portals using natural language.🔹 AI Agent Layer understands intent, extracts entities, and selects the right tools.🔹 Custom Metadata Services provide governed access for search, validation, authorization, audit, and updates.🔹 External Metadata Repository enables high-performance search across 1M+ assets without scanning AEM repositories.🔹 AEM Assets Cloud Service remains the System of Record for all metadata updates.🔹 Synchronization Services maintain consistency through events and scheduled reconciliation.Key Architecture Principles✅ AI agents access enterprise systems through controlled APIs✅ External indexing enables fast metadata discovery at scale✅ Metadata updates always flow through AEM✅ Security, validation, and auditing are built into the workflow✅ Bulk operations execute asynchronously for reliabilityThe future of DAM is moving from asset storage → intelligent asset management, enabling faster discovery, better governance, and conversational experiences.  

Building a Production-Like AEM Local Development Environment with DockerNew

A comprehensive guide to isolated Dev and QA environments with AEM Author, Publish, Dispatcher, Nginx, persistent storage, and WKND validation Local AEM development often begins with a single Author instance. That is sufficient for early coding, but it does not validate the complete delivery path. A mature local setup should make it easy to test Publish behavior, Dispatcher filters and caching, environment-specific configuration, content activation, reverse-proxy routing, and repeatable environment lifecycle management.   PURPOSE  This guide presents a reproducible, Docker-based approach to local development and QA validation. It mirrors production engineering practices but does not replace AEM as a Cloud Service environments, Cloud Manager, or Adobe-supported production deployment models.  What you will buildTwo isolated environments: Development and QA AEM Author and Publish services in each environment Apache HTTP Server with Dispatcher in front of Publish Optional Nginx reverse proxy for friendly local domains Persistent volumes for repositories and logs Environment-specific run modes and configuration WKND-based end-to-end validation Operational commands, troubleshooting guidance, and security guardrailsWho this guide is forAEM developers, technical leads, architects, DevOps engineers, and team members responsible for onboarding or standardizing local development environments.Guide map 01 Why Docker for AEM 02 Reference architecture 03 Prerequisites and capacity planning 04 Repository and configuration model 05 Docker Compose foundation 06 Dispatcher and Nginx 07 WKND validation workflow 08 Daily operations 09 Troubleshooting playbook 10 Security, limitations, and next steps  01   Why Docker for AEM development?Docker does not remove the complexity of AEM. It makes that complexity explicit, versionable, and repeatable. The value comes from codifying service relationships, configuration, ports, networks, storage, and startup behavior so that the wider team can reproduce the same environment.ConsistencyDevelopers use the same service topology and configuration model, reducing machine-specific differences.IsolationDev and QA repositories, caches, logs, and networks remain separate.RepeatabilityCompose commands provide a predictable lifecycle for start, stop, rebuild, and reset.PortabilityThe environment definition can be version-controlled alongside project documentation.Earlier validationDevelopers can test the Browser → Proxy → Dispatcher → Publish route before promoting changes.   KEY IDEA  Do not optimize for the maximum number of containers on day one. Begin with one Author, one Publish, and the official local Dispatcher runtime. Add a second isolated environment after the first path is stable.  02   Reference architectureThe reference topology uses two independent Compose projects. Each project has its own network, named volumes, ports, service names, and environment file. AEM Author AEM Publish Dispatcher Nginx Content & admin Delivery runtime Cache & filter Local front door DEVELOPMENT   •   HOST PORTS 4502 / 4503 / 8080 / 80 AEM Author AEM Publish Dispatcher Nginx Content & admin Delivery runtime Cache & filter Local front door QA   •   HOST PORTS 4512 / 4513 / 8081 / 81Request path Browser   →   Nginx   →   Apache Dispatcher   →   AEM Publish  Author remains available for authoring, package management, administration, and activation. Publish receives activated content and serves delivery requests through Dispatcher.Port plan Service Development QA AEM Author 4502 4512 AEM Publish 4503 4513 Dispatcher 8080 8081 Nginx 80 81 Author debugger 30303 30313 Publish debugger 30304 30314  03   Prerequisites and capacity planningRequired software and artifactsA supported Java installation matched to the AEM SDK version used by the project. The AEM as a Cloud Service SDK, including the local Quickstart JAR and compatible Dispatcher Tools. Docker Desktop or Docker Engine with the Docker Compose plugin. A Git client and sufficient permissions to update the local hosts file. A compatible WKND release, if reference content is required for validation.    LICENSE AND DISTRIBUTION  Do not commit AEM Quickstart JARs, licensed SDK assets, credentials, private keys, or proprietary content packages to source control or publish them in public container registries.  Suggested workstation baseline Resource Starting point Recommended for two environments CPU 4 cores 6–8 cores when running both environments Memory 8 GB available 16 GB or more preferred Storage SSD with free capacity 60 GB or more for images, volumes, and logs Treat these figures as planning guidance rather than fixed product requirements. Measure actual utilization for your SDK, project codebase, package set, and host operating system.04   Repository and configuration modelRecommended repository structure aem-local/ ├── compose.yaml ├── compose.dev.yaml ├── compose.qa.yaml ├── .env.dev ├── .env.qa ├── aem/ │   ├── author/ │   └── publish/ ├── dispatcher/ │   └── src/ ├── nginx/ │   └── conf.d/ ├── packages/ └── scripts/  Environment-specific settings COMPOSE_PROJECT_NAME=aem-dev AUTHOR_PORT=4502 PUBLISH_PORT=4503 DISPATCHER_PORT=8080 NGINX_PORT=80 AUTHOR_RUNMODES=author,dev PUBLISH_RUNMODES=publish,dev DOMAIN_NAME=local-dev.aemaacs.com  Store non-sensitive differences in environment files. Keep secrets in untracked local files or an approved secret-management mechanism.Run-mode configuration config.author.dev config.publish.dev config.author.qa config.publish.qa     DESIGN RULE  Use run modes only for configuration that genuinely differs by tier or environment. Avoid duplicating configuration when the same value should be shared.  05   Docker Compose foundationThe following excerpt illustrates service relationships and storage. Adapt image-building details, users, permissions, health checks, and startup commands to your organization’s approved local-development pattern. services:   author:     build: ./aem/author     ports:       - "${AUTHOR_PORT}:4502"     volumes:       - author-data:/opt/aem/crx-quickstart/repository       - author-logs:/opt/aem/crx-quickstart/logs     networks: [aem-network]     publish:     build: ./aem/publish     ports:       - "${PUBLISH_PORT}:4503"     volumes:       - publish-data:/opt/aem/crx-quickstart/repository       - publish-logs:/opt/aem/crx-quickstart/logs     networks: [aem-network]     dispatcher:     build: ./dispatcher     depends_on: [publish]     ports:       - "${DISPATCHER_PORT}:8080"     networks: [aem-network]     nginx:     image: nginx:stable     depends_on: [dispatcher]     ports:       - "${NGINX_PORT}:80"     networks: [aem-network]   volumes:   author-data:   author-logs:   publish-data:   publish-logs:   networks:   aem-network:  Persistence strategyUse named volumes for repository data and logs. Keep Dev and QA volume names independent. Use bind mounts primarily for source-controlled configuration or package input. Document the reset behavior clearly because deleting volumes destroys local repository data.06   Dispatcher and NginxUse compatible Dispatcher ToolsBuild the local Dispatcher from the tools delivered with the AEM SDK and validate configuration using the SDK utilities. This helps align the local Dispatcher configuration with supported cloud deployment patterns.Filter strategyAdopt a deny-by-default model and allow only the methods and URL patterns required by the application. The following is conceptual only and must not be copied as a complete production security policy: /0001 { /type "allow" /method "GET" /url "/content/*" } /0002 { /type "allow" /method "GET" /url "/etc.clientlibs/*" } /9999 { /type "deny"  /url "*" }     SECURITY CHECK  Review administrative, diagnostic, repository, authoring, internal, and custom API endpoints. A broad allow rule can unintentionally expose sensitive functionality.  Caching considerationsAuthentication and authorization Personalized or cookie-dependent responses Query-parameter handling Cache invalidation and stat-file behavior Vanity URLs, redirects, error pages, and client libraries GraphQL and other API responsesNginx reverse proxy server {     listen 80;     server_name local-dev.aemaacs.com;       location / {         proxy_pass http://dispatcher:8080;         proxy_set_header Host $host;         proxy_set_header X-Real-IP $remote_addr;         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header X-Forwarded-Proto $scheme;     } }  Add the domain names to the local hosts file: 127.0.0.1 local-dev.aemaacs.com 127.0.0.1 local-qa.aemaacs.com  07   WKND validation workflowWKND provides reference content and application behavior that can be used to validate the complete local delivery chain. Choose a release compatible with the project’s AEM SDK and Java version.Deploy the compatible WKND package to Author. Confirm the site renders on Author. Configure and test local activation or replication to Publish. Publish the required site content and dependencies. Verify the page directly on Publish. Verify the same page through Dispatcher. Verify the page through the Nginx domain. Repeat an eligible request and inspect whether Dispatcher serves it from cache.    SUCCESS CRITERIA  Complete the test only when content is visible through the full path and expected security and caching behavior can be demonstrated.  08   Daily operationsStart Development docker compose --env-file .env.dev -f compose.yaml -f compose.dev.yaml up -d  Start QA docker compose --env-file .env.qa -f compose.yaml -f compose.qa.yaml up -d  Inspect status and logs docker compose ps docker compose logs -f docker compose logs -f author docker stats  Stop or reset # Preserve named volumes docker compose down   # Destructive reset: remove named volumes docker compose down --volumes  09   Troubleshooting playbook Symptom What to inspect AEM does not become ready Check Java/SDK compatibility, memory, disk, permissions, repository health, and container logs. Host port is in use Identify the owning process or change the host-side port in the environment file. Dispatcher fails to start Run the validator supplied with the matching Dispatcher Tools package and inspect Apache logs. Content is not cached Review filters, cache rules, response headers, cookies, query handling, permissions, and invalidation. Local domain does not resolve Check the hosts file, proxy port mapping, Nginx configuration, and forwarded Host header. Dev communicates with QA Inspect network membership and ensure services are attached only to the intended project network.  Useful port checks # macOS / Linux lsof -i :4502   # Windows PowerShell / Command Prompt netstat -ano | findstr :4502  10   Security, limitations, and next stepsSecurity checklistKeep SDK artifacts, credentials, and keys out of Git. Do not publish images containing licensed AEM binaries to public registries. Bind local-only services to loopback where appropriate. Use explicit Dispatcher allowlists and test denied paths. Use read-only mounts for configuration inputs when possible. Maintain base images and scan them according to organizational policy. Back up important named volumes before destructive reset operations.Understand the boundaryA local SDK environment supports rapid development and validation, but it does not reproduce every service, operational control, deployment behavior, or managed capability available in AEM as a Cloud Service. Use Cloud Manager and appropriate Adobe environments for cloud deployment validation.Recommended enhancementsHealth checks and readiness gates Local HTTPS and certificate handling Automated Dispatcher validation in CI Smoke tests for Author, Publish, Dispatcher, and proxy routes Centralized logs or lightweight local observability Backup and restore scripts for named volumes Documented image-version and SDK-version compatibility matrixConclusionA successful Docker-based AEM environment is more than a containerized Quickstart JAR. It is a reproducible engineering platform that codifies the complete local request path, separates environment data, validates Dispatcher behavior early, and gives every developer a consistent operating model.Start small, validate the full path, and expand deliberately. Once the first Author, Publish, and Dispatcher stack is reliable, add QA isolation, custom domains, automated checks, and observability. The result is a practical foundation for development, troubleshooting, demonstrations, training, and team onboarding.   COMMUNITY QUESTION  How is your team standardizing local AEM environments? Share your approach to Author, Publish, Dispatcher, containers, and environment isolation.  ReferencesLocal Development Environment for AEM as a Cloud ServiceAdobe Experience League  •  https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-environment-set-up/overview Set up local AEM SDKAdobe Experience League  •  https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-environment-set-up/aem-runtime Set up local Dispatcher ToolsAdobe Experience League  •  https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-environment-set-up/dispatcher-tools Dispatcher in the CloudAdobe Experience League  •  https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/disp-overview AEM as a Cloud Service SDKAdobe Experience League  •  https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/developing/aem-as-a-cloud-service-sdk Adobe WKND releasesGitHub  •  https://github.com/adobe/aem-guides-wknd/releases 

Understanding URL Resolution in AEM as a Cloud Service: Sling Mappings, Aliases, Vanity URLs and DispatcherNew

IntroductionURL management in Adobe Experience Manager can look deceptively simple.A visitor requests:https://www.example.com/es/cursos/javawhile the corresponding AEM resource might live at:/content/acme-learning/es/courses/javaSomewhere between the browser and the JCR repository, the public URL has to become an AEM resource.But that is only half of the problem.When AEM generates a navigation link, canonical URL or sitemap entry, the reverse operation must also work:/content/acme-learning/es/courses/java ↓https://www.example.com/es/cursos/javaAEM provides several mechanisms that participate in this process: Apache HTTP Server mod_rewrite Dispatcher Sling Resource Mapping ResourceResolver.resolve() ResourceResolver.map() sling:alias sling:vanityPath redirects sitemap generation The difficulty is usually not understanding what each feature does individually.The difficult part is knowing which layer should solve which URL problem.This article follows a request from the public URL to the AEM resource and then travels in the opposite direction. Along the way, we will clarify when to use Dispatcher rewrites, Sling mappings, aliases, vanity URLs and redirects, and how those decisions affect caching, multilingual URLs, canonical URLs and sitemaps.1. One URL, multiple resolution layersConsider a fictional international learning platform called Acme Learning.Its public website exposes:https://www.example.com/es/cursos/javabut the AEM repository contains:/content/acme-learning/es/courses/javaThe request can pass through several layers:Browser │ ▼Adobe-managed CDN │ ▼Apache HTTP Server │ ├── mod_rewrite │ ▼Dispatcher │ ▼Sling Resource Resolver │ ├── mappings ├── aliases └── vanity paths │ ▼AEM Resource │ ▼Component renderingEach layer has a different responsibility.One of the easiest ways to create a difficult-to-maintain AEM architecture is to spread URL logic randomly across all of them.For example:CDN rewrites part of the path ↓Dispatcher rewrites another part ↓Sling mapping rewrites it again ↓custom Java reconstructs the URLIt may work initially, but understanding how a URL is resolved later becomes unnecessarily difficult.A better approach is to establish clear responsibilities.2. External redirects and internal rewrites are not the same thingBefore discussing AEM-specific features, it helps to distinguish two fundamental HTTP concepts.External redirectSuppose an old URL is:/academy/java-basicsand the content has permanently moved to:/courses/javaA redirect tells the browser that it should use a different URL:GET /academy/java-basicsHTTP/1.1 301 Moved PermanentlyLocation: /courses/javaThe browser then requests:/courses/javaThe user sees the new URL.Conceptually:Browser URL A │ ▼HTTP 301 │ ▼Browser URL BInternal rewriteAn internal rewrite is different.The visitor requests:/es/cursos/javaApache may internally transform it into:/content/acme-learning/es/courses/javawhile the browser continues displaying:/es/cursos/javaConceptually:Browser/es/cursos/java │ ▼Apache internal rewrite │ ▼/content/acme-learning/es/courses/java │ ▼AEMA useful rule of thumb is:A redirect changes the URL the client uses. A rewrite changes how the server resolves that URL.This distinction becomes important when deciding whether a URL change is part of public information architecture or merely an implementation detail.3. Dispatcher and mod_rewriteAEM content normally lives below /content.A repository structure such as:/content/acme-learning/en/content/acme-learning/es/content/acme-learning/fris useful internally.It does not mean that /content/acme-learning should appear in public URLs.Adobe's URL-management guidance specifically discusses using Apache mod_rewrite to transform shortened public URLs back into their longer repository form before they reach Dispatcher. One important advantage is cache consistency: Dispatcher caches using the internal resource path, which also aligns better with cache invalidation requests coming from AEM.For example:RewriteRule ^/(en|es|fr)/(.*)$ \ /content/acme-learning/$1/$2 [PT,L]Conceptually:Public/es/courses/java.html ↓Apache/content/acme-learning/es/courses/java.html ↓Dispatcher cache/content/acme-learning/es/courses/java.htmlThis keeps the repository prefix out of the public URL while still allowing Dispatcher to work with the actual AEM hierarchy.The exact rewrite rules depend on the site's architecture, but an important principle is:Dispatcher should normalize HTTP requests, not become a second content repository containing hundreds of business-specific routing rules.If every new page or content category requires a new Apache rule, URL responsibilities are probably leaking into the wrong layer.4. Sling Resource MappingOnce a request reaches Sling, the Resource Resolver determines which resource the URL represents.Sling distinguishes between two related operations:resolve()URL ↓Resourceand:map()Resource ↓URLApache Sling explicitly describes these as incoming mapping and reverse/outgoing mapping.This distinction is fundamental.Incoming mapping: resolve()Given something such as:/es/courses/javaSling needs to locate:/content/acme-learning/es/courses/javaConceptually:Resource resource = resourceResolver.resolve(request, path);Outgoing mapping: map()Starting from:/content/acme-learning/es/courses/javaAEM may need to produce:/es/courses/javaConceptually:String url = resourceResolver.map( request, resource.getPath() );Apache Sling describes map() as the reverse operation of resolve(), designed so that the mapped URL can resolve back to the same resource.This bidirectional model is one of the most important concepts in AEM URL architecture.5. Why inbound resolution alone is not enoughImagine that this URL works correctly:https://www.example.com/es/courses/javaand resolves to:/content/acme-learning/es/courses/javaIt is tempting to conclude that URL configuration is complete.But suppose the site's navigation generates:/content/acme-learning/es/courses/java.htmlor the sitemap contains:https://publish-instance/content/acme-learning/es/courses/java.htmlThen only one direction is correct:URL → Resource ✓while:Resource → URL ✗is still wrong.This is why URL architecture should always be tested in both directions:PUBLIC URL │ │ resolve() ▼AEM RESOURCE │ │ map() ▼PUBLIC URLIdeally:resolve(map(resource))should lead back to the same resource.Adobe's SEO and URL management guidance explicitly recommends using ResourceResolver.map() when custom components output URLs after the Sling mappings have been defined.For example:for (Page course : courses) { String courseUrl = resourceResolver.map( request, course.getPath() ); // Use courseUrl in the generated link}This avoids hard-coding assumptions such as:"/" + language + page.getPath()throughout component code.6. sling:alias: public names without renaming JCR resourcesMultilingual sites introduce another interesting problem.Suppose Acme Learning maintains the same JCR page name across languages:/content/acme-learning/en/courses/content/acme-learning/es/courses/content/acme-learning/fr/coursesKeeping the same resource name can simplify translation relationships and content synchronization.But Spanish visitors might reasonably expect:/es/cursosinstead of:/es/coursesThis is exactly the type of problem sling:alias can solve.The Spanish resource can remain:/content/acme-learning/es/courseswhile defining:sling:alias = cursosThe public path can then use:/es/cursoswithout renaming the JCR node.Adobe specifically recommends sling:alias for localized page names while retaining consistent page names across language structures.Apache Sling also documents an important detail: sling:alias participates not only in incoming resolution but also in outgoing mapping. If multiple aliases exist, the first one becomes the preferred value for outgoing mapping.Conceptually:JCR/content/acme-learning/es/courses │ │ sling:alias=cursos ▼Public/es/cursosThis gives us an important separation:repository identity ≠public URL nameThat is particularly useful in multilingual content architectures.7. Alias is not a vanity URLsling:alias and vanity URLs can both make a resource accessible using another name, but they solve different problems.Consider:/content/acme-learning/es/courses/javaAlias scenarioThe resource name is:courseswhile Spanish should expose:cursosUsing:sling:alias = cursosproduces a localized position inside the existing hierarchy:/es/cursos/javaThe alias is part of resource resolution.Vanity URL scenarioNow suppose the marketing team launches a temporary campaign for a Java certification course.The canonical page remains:/es/cursos/java-certificationbut they want a memorable promotional URL:/java-proThat is a much better vanity URL use case.Conceptually:/java-pro │ ▼/content/acme-learning/es/courses/java-certificationAdobe describes vanity URLs as an author-controlled mechanism for making an existing page available from an additional, often shorter or promotional, URL. Adobe also warns that multiple URLs exposing the same page can fragment SEO value, making canonical URL management important.A simple distinction is therefore:sling:alias ↓alternative name inside the resource hierarchyvanity URL ↓additional shortcut to the resourceThey should not be treated as interchangeable features.8. Vanity URLs have important constraintsVanity URLs are convenient because authors can configure them from Page Properties.For example:Canonical page:/es/cursos/cloud-architectureVanity:/cloud-masterclassBut they are not intended to become a general-purpose routing engine.Adobe currently documents several important constraints: vanity URLs must be unique, do not support regular-expression patterns, and should not collide with an existing page path.This means something like:/course/*is not a valid strategy for dynamically mapping an entire section.Vanity URLs are better thought of as explicit shortcuts.Examples:/spring-sale/developer-week/free-course/cloud-masterclassnot as:/{language}/{category}/{slug}routing infrastructure.9. Vanity URLs and DispatcherEven if Sling knows a vanity URL, Dispatcher must allow the request to reach AEM.Adobe Dispatcher provides a specific /vanity_urls capability for this.Dispatcher periodically retrieves the known vanity paths from AEM and stores them locally. If a request would normally be denied by Dispatcher filters, Dispatcher can check whether that path is a valid published vanity URL before deciding whether to allow it.A simplified configuration looks like:/vanity_urls { /url "/libs/granite/dispatcher/content/vanityUrls.html" /file "/tmp/vanity_urls" /delay 300}This avoids adding a Dispatcher filter rule manually every time an author creates another vanity URL.Conceptually:Author creates vanity │ ▼AEM Publish │ ▼Vanity URL list │ ▼Dispatcher local list │ ▼Request can be allowedThis is another good example of why URL resolution cannot always be understood by looking only at Sling.A valid Sling mapping can still fail earlier in the delivery stack if Dispatcher does not permit the request.10. Sling mappings and /etc/mapSling Resource Mapping can be configured using mapping definitions, traditionally located under:/etc/mapThe default mapping location is controlled by the Apache Sling Resource Resolver configuration.Mappings can influence both incoming resource resolution and outgoing URL generation. Adobe's Resource Mapping documentation describes the two mapping tables explicitly:Resolver Map Entriesused by:ResourceResolver.resolve()and:Mapping Map Entriesused by:ResourceResolver.map()For example, a mapping could conceptually allow:https://www.example.com/es/courses/javato represent:/content/acme-learning/es/courses/javaHowever, there is an important architectural consideration.Adobe's current SEO and URL-management guidance warns that relying on /etc/map alone for shortened inbound URLs can produce Dispatcher cache-invalidation mismatches.For example:Public cache path:/es/courses/java.htmlwhile the AEM invalidation request references:/content/acme-learning/es/courses/javaIf Dispatcher has cached only the shortened path, the expected cache entry may not be invalidated.Adobe therefore describes an architecture where Apache mod_rewrite expands the incoming public path before Dispatcher caches it, while Sling Resource Resolver mappings handle URL output.This produces a useful division:INCOMINGPublic URL ↓Apache mod_rewrite ↓Internal AEM path ↓Dispatcher ↓AEMOUTGOINGAEM resource ↓ResourceResolver.map() ↓Public URLThis is often easier to reason about from both a caching and content-delivery perspective.11. A multilingual exampleLet's combine the pieces using a completely fictional content structure.Acme Learning stores:/content/acme-learning/en/courses/java/content/acme-learning/es/courses/java/content/acme-learning/fr/courses/javaThe desired public URLs are:/en/courses/java/es/cursos/java/fr/formations/javaThe repository names remain stable:courseswhile the localized language roots define aliases:English/content/acme-learning/en/coursessling:alias = coursesSpanish/content/acme-learning/es/coursessling:alias = cursosFrench/content/acme-learning/fr/coursessling:alias = formationsThe architecture becomes:/es/cursos/java │ ▼Apache rewrite │ ▼/content/acme-learning/es/cursos/java │ ▼Sling alias resolution │ ▼/content/acme-learning/es/courses/javaThe outgoing direction becomes:/content/acme-learning/es/courses/java │ ▼ResourceResolver.map() │ ▼/es/cursos/javaThis keeps:stable repository nameswhile still allowing:localized public URLsThat distinction becomes increasingly valuable as the number of supported languages grows.12. Redirects belong to a different problemConsider a course whose old public URL was:/es/cursos/java-8and whose new permanent location is:/es/cursos/javaThis is not an alias problem.It is not primarily a vanity problem either.We explicitly want browsers and search engines to learn that the previous URL has moved.The correct conceptual operation is:/es/cursos/java-8 │ ▼301 Moved Permanently │ ▼/es/cursos/javaCompare that with an internal rewrite:/es/cursos/java │ ▼internal AEM pathor a vanity:/java │ ▼existing course pageThe intent determines the mechanism.A good URL architecture should therefore distinguish:resource namingroutingshortcutsmigrationrather than trying to solve all four using the same feature.13. The connection with canonical URLsSuppose this page is available at:/es/cursos/java-certificationand also through the vanity:/java-proBoth URLs expose the same content.That can create duplicate URL representations from a search-engine perspective.Adobe explicitly recommends considering canonical URLs when vanity URLs expose a page from additional locations.The HTML might therefore identify:<link rel="canonical" href="https://www.example.com/es/cursos/java-certification"/>The architectural lesson is that:URL resolutionand:canonical URL selectionare related but different responsibilities.AEM may successfully resolve multiple URLs to the same resource, but SEO still needs one preferred identity.14. Sitemaps expose outgoing URL problemsSitemaps are one of the easiest places to detect an incomplete URL architecture.Suppose users can correctly browse:https://www.example.com/es/cursos/javabut the generated sitemap contains:/content/acme-learning/es/courses/java.htmlor only:/es/courses/javainstead of:https://www.example.com/es/cursos/javaThe incoming URL may work perfectly.The outgoing mapping does not.AEM uses the Apache Sling Sitemap module for sitemap generation. Adobe's current sitemap documentation states that absolute sitemap URLs are supported through Sling mappings, generally configured on the AEM Publish service that generates the sitemap.That creates another useful mental model:JCR resource │ ▼Sling mapping │ ▼external URL │ ▼sitemap entryFor this reason, whenever a sitemap contains incorrect hosts, internal /content paths or unexpected names, checking outgoing Sling mappings should be part of the investigation.Sitemaps are not an isolated SEO feature.They depend on the same URL architecture used elsewhere in the application.15. Debugging URL resolution in AEM as a Cloud ServiceWhen troubleshooting URL resolution, it is important to distinguish between the local AEM SDK and managed AEM as a Cloud Service environments.The Sling JCR Resource Resolver console:/system/console/jcrresolveris available when running the AEM as a Cloud Service SDK locally, where the Web Console can be used for development and debugging.It should not be considered a debugging tool available on managed AEM as a Cloud Service Author or Publish instances.Adobe explicitly states that the Web Console is not available on managed AEM as a Cloud Service environments. Runtime information for cloud environments is instead exposed through the read-only AEM Developer Console available from Cloud Manager.Therefore, URL-resolution debugging should follow different approaches locally and in cloud environments.Local developmentWhen running the AEM SDK locally, /system/console/jcrresolver is particularly useful for testing Sling Resource Resolver behavior.It allows developers to inspect:Resolver Map Entriesused by:ResourceResolver.resolve()and:Mapping Map Entriesused by:ResourceResolver.map()It can also be used to test both directions directly:Public URL │ │ Resolve ▼AEM Resourceand:AEM Resource │ │ Map ▼Public URLFor example:Resolve:/es/cursos/java ↓/content/acme-learning/es/courses/javaand:Map:/content/acme-learning/es/courses/java ↓/es/cursos/javaThis makes the local SDK an effective environment for validating Sling mappings before deploying them.Managed AEM as a Cloud Service environmentsIn managed AEMaaCS environments:/system/console/*is not exposed.AEM as a Cloud Service treats runtime code and configuration as immutable. OSGi configurations should be maintained as code and deployed through Cloud Manager rather than changed through the Web Console.The AEM Developer Console, accessible from Cloud Manager for each environment, provides read-only runtime information such as: OSGi configurations; bundles; components; services; servlets; runtime status information. However, it does not provide the same interactive Resolve and Map testing interface as the local JCR Resource Resolver console.For cloud environments, URL-resolution debugging therefore becomes a combination of:Deployed configuration +HTTP request testing +Dispatcher logs +AEM logs +Developer Console inspectionA practical troubleshooting flow is:Public request │ ▼Does the CDN/Apache layer return the expected response? │ ▼Does the Dispatcher rewrite produce the expected internal path? │ ▼Does AEM resolve that internal path? │ ▼Does the generated HTML contain the expected mapped URLs? │ ▼Are canonical and sitemap URLs correct?For example, an incoming request can be tested directly:curl -I https://www.example.com/es/cursos/javaor with verbose output when redirects and headers need to be inspected:curl -v https://www.example.com/es/cursos/javaDispatcher rewrite logging can then be used when the issue appears to be in the Apache layer.If the problem is with outgoing URLs, inspect the actual output generated by the application:<a href="/es/cursos/java">or:<link rel="canonical" href="https://www.example.com/es/cursos/java"/>as well as the generated sitemap.This distinction is important:/system/console/jcrresolver is an excellent local Sling debugging tool, but it should not be presented as a console available on managed AEM as a Cloud Service environments.The recommended workflow is therefore:LOCAL SDK/system/console/jcrresolver ↓Validate resolve() and map() ↓Deploy configurationCLOUDCloud Manager deployment ↓AEM Developer Console+HTTP tests+Dispatcher/AEM logs ↓Validate runtime behaviorThis is much more efficient than changing rewrite rules until the problem appears to disappear.16. A useful mental modelThe complete architecture can be summarized as two flows.IncomingPUBLIC URL │ ▼Adobe CDN │ ▼Apache mod_rewrite │ ▼Dispatcher │ ▼Sling Resource Resolver │ ├── mapping ├── sling:alias └── sling:vanityPath │ ▼AEM RESOURCEOutgoingAEM RESOURCE │ ▼ResourceResolver.map() │ ├── Sling mappings └── sling:alias │ ▼PUBLIC URL │ ├── navigation links ├── canonical URLs ├── alternate links └── sitemap URLsThinking about both flows separately makes many AEM URL problems much easier to understand.17. Which mechanism should I use?Requirement Recommended mechanism Hide /content/acme-learning from visitors Apache rewrite + Sling outgoing mapping Convert a public path into an internal AEM path Internal rewrite / Sling mapping Localize courses as cursos while keeping the JCR node name sling:alias Provide /java-pro as an additional promotional shortcut Vanity URL Permanently move an old URL HTTP 301 redirect Temporarily redirect traffic Appropriate HTTP redirect Generate public links from JCR paths ResourceResolver.map() Generate correct absolute sitemap URLs Sling mappings Debug inbound mapping JCR Resource Resolver → Resolve Debug outbound mapping JCR Resource Resolver → Map Expose author-created vanity URLs through Dispatcher Dispatcher /vanity_urls The important idea is that these mechanisms are complementary.They are not competing implementations of the same feature.18. Common mistakesTreating sling:alias and vanity URLs as equivalentAn alias changes how a resource can be addressed inside its hierarchy.A vanity URL creates an additional shortcut.Their semantics are different.Implementing every URL rule in DispatcherApache is excellent at normalizing and routing HTTP requests.It should not become the place where the application's entire content model is reproduced.Solving only incoming URLsMaking:/es/cursos/javaresolve correctly does not guarantee that AEM will generate that same URL in navigation, canonical tags or sitemaps.Always test both:resolve()and:map()Generating URLs manuallyAvoid code such as:String url = "/" + language + page.getPath() + ".html";when Sling already provides the URL mapping abstraction.Use:resourceResolver.map(...)when generating public URLs from repository paths.Using vanity URLs as a dynamic routing engineVanity URLs are explicit paths and do not support regex patterns.They are excellent shortcuts.They are not replacements for structured URL mappings.Ignoring cache invalidationAn inbound mapping may resolve perfectly while Dispatcher caches the page using a path that does not correspond to the invalidation path sent by AEM.URL architecture and caching architecture must therefore be considered together. Adobe explicitly documents this risk when discussing /etc/map and shortened URLs.19. Key takeawaysAEM URL management becomes much easier when each mechanism is given a clear responsibility.The most important principles are: Think about URLs in two directions. Incoming resolution: URL → Resource and outgoing mapping: Resource → URL are related but separate operations. Use Apache and Dispatcher for HTTP-level routing and normalization. They are particularly useful for hiding repository prefixes while maintaining cache consistency. Use Sling Resource Mapping for resource-to-URL abstraction. resolve() identifies resources from URLs, while map() produces external URLs from resource paths. Use sling:alias for alternative or localized resource names. This can preserve stable JCR names while allowing translated public paths. Use vanity URLs for explicit alternative shortcuts. They are particularly useful for memorable campaign or promotional paths, but they are not a general routing system. Use redirects when the client needs to learn about a new URL. Internal rewrites and external redirects solve fundamentally different problems. Remember that URL architecture affects caching and SEO. Dispatcher invalidation, canonical URLs, generated links and sitemaps all depend on consistent URL decisions. Perhaps the most useful mental model is this:A public URL is not the JCR path. It is a representation of that resource produced by several cooperating layers.A well-designed AEM implementation makes that translation predictable in both directions.References[1] Adobe Experience League — SEO and URL Management Best Practices for Adobe Experience Manager as a Cloud ServiceCovers URL rewriting, localized page names using sling:alias, Sling Resource Resolver mappings, ResourceResolver.map(), Apache mod_rewrite, canonical URLs and the Dispatcher cache-invalidation implications of different URL-mapping strategies.Adobe Experience League — SEO and URL Management Best Practices[2] Adobe Experience League — Resource MappingOfficial AEM as a Cloud Service documentation covering Sling resource mappings, redirects, vanity URLs, resolve() and map() mapping tables, and the JCR Resource Resolver console.Adobe Experience League — Resource Mapping[3] Apache Sling — Mappings for Resource ResolutionApache Sling's detailed documentation for incoming and outgoing mappings, aliases, vanity paths and reverse mapping.Apache Sling — Mappings for Resource Resolution[4] Adobe Experience League — Page PropertiesDocuments the AEM page properties for Vanity URL, Redirect Vanity URL, Canonical URL and sitemap generation, including current vanity URL restrictions.Adobe Experience League — Page Properties[5] Adobe Experience League — Configure AEM DispatcherOfficial Dispatcher configuration documentation, including the /vanity_urls mechanism used to dynamically allow published AEM vanity URLs.Adobe Experience League — Configure AEM Dispatcher[6] Adobe Experience League — SitemapsExplains AEM sitemap generation and how Sling mappings are used to produce absolute sitemap URLs.Adobe Experience League — Sitemaps[7] Apache Sling API — ResourceResolverAPI documentation for ResourceResolver.resolve() and ResourceResolver.map() and their relationship as incoming and reverse mapping operations.Apache Sling — ResourceResolver APIDisclaimerAll domains, repository paths, page names, content structures and code examples in this article are fictional and are used exclusively to illustrate AEM URL-resolution concepts.The exact mapping, Dispatcher, cache-invalidation and SEO configuration should always be designed and tested according to the architecture of each AEM as a Cloud Service implementation.

Gen AI scraper botsNew

Many content-rich websites with extensive knowledge bases are experiencing a significant increase in traffic from AI scrapers, crawlers, and data harvesting bots. In our case, this has been an ongoing challenge for several months. While the impact on reporting accuracy is already substantial, the more immediate concern is the associated increase in Adobe Analytics server call consumption, which can lead to unexpected overages and additional costs.What makes this challenge different from traditional bot traffic is that these are not a small set of well-known bots that can be managed through static signatures or conventional bot rules. The traffic is highly distributed, frequently changes behavior, and often originates from a large number of sources, making it significantly harder for customers to identify and mitigate on their own.Given the broad impact across digital analytics implementations, could Adobe consider a more proactive partnership model with customers? For example:Maintaining and publishing regularly updated AI scraper/bot signatures or detection patterns. Providing monthly or near real-time updates that customers can leverage at the network, CDN, WAF, tag management, or Analytics processing level. Offering enhanced detection capabilities within Adobe Analytics that specifically address emerging AI crawler traffic patterns. Creating a community-driven process where customers can contribute observed signatures and suspicious traffic sources that Adobe can validate and distribute more broadly.Without stronger ecosystem-level support, organizations risk both increasing operating costs and declining confidence in the accuracy of their analytics data. As AI-driven crawlers continue to evolve, an industry-wide challenge requires a more adaptive approach than the traditional bot management strategies that were effective in the past.I would be interested to hear whether Adobe is considering any roadmap investments or customer collaboration initiatives in this area.