HTL caconfig Global Variable for Context-Aware Configuration in AEM
Sourced Code Blog
by briankasingli
1M ago
Context-Aware configuration contains a Scripting Binding Values provider with automatically registeres a caconfig variable in your HTL/Sightly scripts to directly access context-aware configurations. It supports both singleton configurations and configuration lists. Please note that configuration lists are only supported when configuration metadata is present (e.g. via an annotation class). In this article we will step through how to use the caconfig global variable in HTL Sightly. Quick Links Accessing Singleton Configurations Accessing Configuration Lists Accessing Nested Configurations Ad ..read more
Visit website
AuthenticationSupport service missing. Cannot authenticate request.
Sourced Code Blog
by briankasingli
2M ago
Encountering the “AuthenticationSupport service missing. Cannot authenticate request” OR the “HTTP ERROR 404 Not Found org.apache.felix.http.base.internal.dispatch.DispatcherServlet” errors in Adobe Experience Manager (AEM) can halt your development progress, presenting a significant obstacle. This error often points to underlying issues with the AEM instance’s ability to access or initialize critical repository services. Fortunately, there’s a practical approach to resolving this problem, ensuring your local development environment gets back on track swiftly. Follow steps below can resolve yo ..read more
Visit website
Generate Custom Oak Indexes with the Oak Index Definition Generator
Sourced Code Blog
by briankasingli
2M ago
Indexing in Adobe Experience Manager is very important. It’s not just about making things faster; it totally changes how we handle and find data online. With the Oak Index Definition Generator, developers get a really handy tool to shape how searches work behind the scenes. This tool isn’t just about making indexes, it’s about making them just right for each project’s specific needs. By using this tool, developers can create indexes that fit perfectly with what they’re trying to do, making searches faster and more efficient. This smart way of indexing helps AEM websites be faster and more flex ..read more
Visit website
Handling Http Requests, HttpClient, in AEM
Sourced Code Blog
by briankasingli
2M ago
When integrating with external services or APIs from Adobe Experience Manager (AEM), utilizing the HttpClient for outbound HTTP requests is a common requirement. It’s crucial to handle these connections efficiently, securely, and in a way that is compatible with AEM’s architecture to ensure optimal performance and maintainability of your code. AEM provides a specialized factory, HttpClientFactory, designed to streamline the creation and configuration of HttpClient instances. This factory not only simplifies the process of instantiating HttpClient objects but also ensures that the instances are ..read more
Visit website
Differences Between Using Free ChatGPT 3.5 vs AEM Developer GPT
Sourced Code Blog
by briankasingli
2M ago
When comparing ChatGPT 3.5 with the AEM Developer GPT (OpenAI ChatGPT Plus), the key differences lie in their breadth of knowledge, specialization, and the ability to stay current with the latest technologies. ChatGPT 3.5, while impressively versatile, is grounded in a wide array of knowledge that spans up to its last training cut-off in 2021, covering countless topics across both general and technical domains. On the other hand, the AEM Developer GPT is a specialized tool designed explicitly for Adobe Experience Manager (AEM) development, equipped with the unique capability to continuously le ..read more
Visit website
ChatGPT for AEM Developers, AEM Developer GPT
Sourced Code Blog
by briankasingli
2M ago
When working on Adobe Experience Manager (AEM) projects, finding the right support for coding can be a game-changer. That’s where AEM Developer GPT comes in – a dedicated generative AI tool designed specifically for AEM developers. It’s here to make your life easier, whether you’re looking to generate code examples quickly or seeking answers to your AEM-related questions. *AEM Developer GPT is free to use, however, you must be a subscribed user to their ChatGPT Plus subscription account on https://chat.openai.com Author Recommendation I recommend you to read this blog article: Differences Betw ..read more
Visit website
AEM 6.5.5 Not Indexing Problem *Fixed*
Sourced Code Blog
by briankasingli
4M ago
In the course of establishing a new multitenant website, we opted to re-use the search mechanism for both site1 and site2. However, following the deployment of our code to the cloud QA environment, a significant hurdle surfaced: site2’s search consistently failed to produce results. This revelation made us to invest considerable effort in a detailed debugging journey. Follow this step-by-step guide below as we transparently outline each phase of our process to resolve this issue. Navigating the challenges posed by the AEM 6.5.5 indexing problem, we’ve acquired invaluable insights that we belie ..read more
Visit website
Chrome Reset with the Outline CSS Property
Sourced Code Blog
by briankasingli
4M ago
Let’s delve into an approach to reset the Chrome outline CSS property. Our focus will be on two key declarations: outline-color: auto; and outline-color: -webkit-focus-ring-color;. Quick Links Understanding the Accessibility-Driven Outline CSS Property Resetting Chrome for Accessibility with outline-color Resetting Chrome with Browser-Specific Accessibility: outline-color: -webkit-focus-ring-color; Code Example, Together Conclusion 1. Understanding the Accessibility-Driven Outline CSS Property: Before we explore the accessibility benefits, let’s grasp the significance of the outline propert ..read more
Visit website
AEM Chrome Extension for Content Authors, Developers, and CMS Admins Across All AEM Versions
Sourced Code Blog
by briankasingli
4M ago
Navigating Adobe Experience Manager (AEM) can often feel like a repetitive dance for content authors, developers, and administrators. Moving between pages, Touch UI editor, Classic UI editor, page properties, and CRXDE Lite involves the manual hassle of copying URLs and making adjustments – a time-consuming chore that needs a fresh approach. Enter the AEM Chrome Extension, a tool designed to be your time-saving ally and revolutionize your AEM navigation. Notably, the AEM Chrome Extension has garnered popularity with around 1700 daily users. More than just an extension, it’s become a game-chan ..read more
Visit website
Execute JavaScript in the Author Environment for AEM Components AEM 6.5+
Sourced Code Blog
by briankasingli
4M ago
To execute JavaScript specifically for the AEM Author Environment, developers can add a condition to check for a Cookie stored in the browser, ‘cq-authoring-mode’; this works on AEM 6.5+. When the Cookie of ‘cq-authoring-mode’ exists, then execute JavaScript during authoring on the editor.html. Only in the Author Environment, the Cookie, ‘cq-authoring-mode’, will exist. Below is a code snippet demonstrating how to check for the existence of the ‘cq-authoring-mode’ key in the cookies and gracefully exit the JavaScript logic if the key is found (targeting only the Author Environment, which means ..read more
Visit website

Follow Sourced Code Blog on FeedSpot

Continue with Google
Continue with Apple
OR