Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
I have a table with 30 columns. I will show on the Adobe Layout only the used columns for each row with different used columns and will print a new header line for each row.I used the event initialize and it is working for the first row (11 columns). But the second header is showing again 11 columns independant of number of used columns.Looks to me the event initialize will be processed only 1 time.Any idea if I can use a different event to fulfil my requirements or maybe any other thouhts how I can solve?Thank you.
I am working on AEM 6.5, enabled contextHub for my site.Styles icon appear in Edit mode and can change styles in Edit mode, but in Targeting mode I do not see the styles icon(paint brush). Attached screenshot for reference.Can someone guide me to understand this issue. Is this a known issue or do we have a solution for this.Edit mode:Targeting mode:
<div data-sly-repeat.item="${items}"> i=${itemList.count}<div data-sly-list.value="${variableObject.iconImage}"> j=${valueList.count}<div data-sly-test.my=[${itemList.count}=${valueList.count}]><span class="cmp-accordion__icon nn-accordnion__icon__chevron"><img src="${value.setImageIcon}" width="44" height="44" alt="${value.altText}"></span></div></div> .is there any way to iterate like if(i==j) then only <span> image should come ? please help i have considered i and j in above code those are count of both list.
I'm currently configuring the dispatcher on Windows. I've noticed that cache isn't being created for port 80, but it works fine when using the IP address 127.0.0.1. Does anyone have a solution to enable cache creation for port 80?
I have a client using Magento 2 freeware for their ecommerce website. Does Adobe have a good integration to migrate his website to Adobe E Commerce?
Dear All, We are migrating content from Sitecore to AEM. For this below is the one Sitecore content json "topicBody": [{"itemId": "84dbfa1a","itemUrl": "","itemName": "Test Defect-Treatment","__typename": "TreatmentConcept","templateId": "c51297ec","pocId": "TXC-20096525","conceptBody": [{"itemId": "54ceda8a","itemName": "Test Defect-Closure","templateId": "d1a1f112","__typename": "KmSection","pocId": "SEC-2009","title": "Closure"},{"itemId": "84134c21","itemName": "Test Defect-Patient Observation","templateId": "d1a1f112","__typename": "KmSection","pocId": "SEC-2006","title": "Observation"}],"title": "Treatment","type": "","workflowItemManager": "mfad\\ALS07"},{"itemId": "01ffe5c6","itemUrl": "","itemName": "Test Defect-Patient Considerations","__typename": "ConditionPatientConsiderationsConcept","templateId": "69265f07","pocId": "PTC-20117566","conceptBody": [{"itemId": "3a4f77ab","itemName": "Test Defect-Endocarditis Prophylaxis","templateId": "d1a1f112","__type
I'm utilizing the 'PDF Embed API' to display and annotate a PDF document. I'm using the API to define user profiles. Everything works great, but each profile can modify/delete annotations made by others. Is there a way to block annotations that don't belong to us?
Hi, We are using AEM Sites 6.5 on the mac. Trying to build a Junit test to validate a custom component is working. The samples I see are against a model with interface and impl, creating a page. Are there samples against a plain model class with Json data? (No interface) Thanks.Joel
accordion left image icon
I have an OAuth Integration with Adobe Cloud and ServiceNow.The tokens expire every 24 hours in ServiceNow. SNow support indicates the token lifespan can be extended via updating the the Application registry of your Oauth provider.Does anyone know where I can find the application registry?Is it in the Adobe Console? Where?Thanks.
Has anyone had success with a plug-in to allow PDFs to be added to Adobe Commerce B2B site?
I hardcoded Client ID, Client Secret, and Organization Number into the GET request, but it keeps kicking back a 401 error. I'm trying to get page 1 of all users for my organization.
We want to display FAQs dynamically on the page based on the tags, so I wrote the Java code for that, but when I looked at the log statements, I saw that it doesn’t go inside while loop only, and also listChildren doesn’t return, so please look at the below Java code and log statements, and confirm me if I missed anything. faqImpl.javapackage com.amex.gcdt.models; import java.util.HashMap;import java.util.Map;import java.lang.String;import java.util.*;import java.util.Collection;import java.util.Collections;import com.day.cq.tagging.Tag;import javax.annotation.PostConstruct;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ValueMap;import org.apache.sling.models.annotations.DefaultInjectionStrategy;import org.apache.sling.models.annotations.Exporter;import org.apache.sling.models.annotations.ExporterOption;import org.apache.sling.models.an
<panel jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/multifield" composite="{Boolean}true" fieldLabel="Panels"> <field jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container" name="./panels"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container"> <items jcr:primaryType="nt:unstructured"> <accordianIcon jcr:primaryType="nt:unstructured" sling:resourceType="/libs/granite/ui/components/coral/foundation/form/pathfield" fieldDescription="icon to be displayed for expand/collapse option" fieldLabel="Accordi
Hi,Can you please let me know if Experience fragment be downloaded from GraphQL query in HTML format?
We are using an expression ${profile.name} in a <p> in the code of a page component that gets populated by another team when it's published to them that AEM is removing from the code.I'm guessing AEM sees it as a property type which is why it isn't keep in the code.Is there a <sly> or some other way to prevent AEM from removing that expression on publish by reading that ${expression} as a string?
I am working with Adobe livecycle designer tool to create HTML 5 forms. I have a scenario where the setinstance method is used to set the instances for the location description and Transit rows.Page1.crdcServices.locationRows::calculate - (JavaScript, both) var locationCount = crdcServices.numOfLocations.rawValue; if(locationCount > 0){ this.presence = "visible"; this.locations.instanceManager.setInstances(locationCount); } else { this.locations.instanceManager.setInstances(1); //this.presence = "hidden"; }The chekbox event (click/change) events stops working when the set instances method reduce the higher number of instances to lower number. This functionality breaks only in HTML 5. When we preview it as a pdf it works well. Any input will be highly appreciated. since it looks like something wrong with the events when instances are reduced.
We see that the PDF merge charge works for up to 15 components. According to the documentation, it should indeed work for up to 20 without any detours.Now we see the following error coming back from the PDF connection.{ "error": { "code": 400, "source": "flow-apim-europe-002-northeurope-01.azure-apim.net", "clientRequestId": "f514a216-7819-484f-8ef9-5e61aaf4f578", "message": "The response is not in a JSON format.", "innerError": "<!doctype html><html lang="en"><head><title>HTTP Status 400 – Bad Request</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 400 – Bad Request</h1>
I have a requirement where I am supposed to get all the products from my PIM system and get the details of all the images used from AEM asset.Then use that information in AEM Asset.To fetch all the necessary product details i have to send thousand requests and it takes approximately 12 minutes. I created an app using app builder but it just does'nt work after 10k products.As far as I can think The limitation of 600000ms timeout for action is the issue. Is there a way i can execute this? or any different type of app builder service which will be beneficial in such use case?
Howdy, I'm trying to connect to Adobe to run some prebaked queries on a schedule to return for my relational database. When I code up my python script though, I keep getting a combination of errors depending on the time I run my script. One time it can return this... Error retrieving report data:{"error_code":"500701", "message":"GRM internal server error"} Other times it will return this; I am not making changes to my script between runs... Error retrieving report data:{"error_code":"403025", "message":"Profile is not valid"} import sys import csv import json import time import requests import jwt # Set up your API credentials and report suite ID client_id = 'helloWorld!' client_secret = 'shhhhhhhhhhh' technical_account_id = 'stuffandthings@techacct.adobe.com' org_id = 'thingsandstuff@AdobeOrg' private_key = 'private.key' report_suite_id = 'honeybadger' json_query = 'marketing_channels.json' # Set up the API endpoint and authentication URL au
Client is having google data layer on site and they want to use this existing data layer to send data in adobe using WEB SDK.below is the data layer event for "view_item_list"It basically captures all the items information available on product list page . we want to capture these values in adobe analytics .Could you guide me which steps i need to follow in adobe launch web sdk configuration ?
In our Tag Properties Rules we are using:Events: Core - Direct CallThen: Actions: Adobe Analytics - Set Variables THEN Adobe Analytics - Send Beacon THEN Adobe Analytics - Clear Variable. When the page is loaded, the AA page load call is firing as expected. But when any content action is done then in console below is coming ( which is correct). but acc to below, rule has been fired and beacon is also sent but omnibug is showing no calls and also checked network logs no calls there as well. 🚀[Core] Rules using the direct call event type with identifier "globalOnclick" have been triggered. [Adobe Analytics] Set variables on the tracker.[Adobe Analytics] Applying the following properties on tracker: "{"eVar4":"eng","eVar6":"", } (deleted other variable just to hide the client)[Adobe Analytics] Firing link track beacon using the values: {"linkType":"o","linkName":"owner:account:cta"}. 🚀 [Adobe Analytics] Clear variables.🚀 Rule "AA: standardOnClic
Hi there, Could you please help with 6.5 code in sling model for below WCMUsePojo ?package com.fpt.asr.commons.components.models;import java.util.ArrayList;import java.util.List;import javax.jcr.Node;import org.apache.sling.api.resource.ValueMap;import com.adobe.cq.sightly.WCMUsePojo;import com.fpt.asr.commons.beans.FaqListBean;import com.fpt.asr.commons.beans.MemberBenefitFAQBean;import com.fpt.asr.commons.constants.PropertiesConstants;import com.fpt.asr.commons.utils.JsonUtils;import com.fpt.asr.commons.utils.MultifieldUtils;import lombok.Getter;import lombok.Setter;@1889392@14766979public class MemberBenefitFAQModel extends WCMUsePojo {private String title;private String[] itemFAQ;private String item;private List<Integer> ids;private List<MemberBenefitFAQBean> memberBenefitFAQBeans;@9944223public void activate() throws Exception {ArrayList<Integer> ids = new ArrayList<>();String path = get("path", String.class);ValueMap properties = getProperties();
Hello everyone,I am using aem 6.5.5 . so my requirement is to get a dynamic dropdown in a dialog box of component. having the dropdown in the dialog box with the content fragment models which i created, so whatever i select the contentfragment model name in the dialog box i needed to render its content fragment details which have been created by using that content fragment model.so now i am new to this development how do i need to start or how do i need to complete this requirement..This is how my component hierarchy is ,.now in this component instead of this author 1 and author 2 details whenever i select the author i need to render the content fragment model details which are present in the /content/dam/mysite/cfm/car-fragmnent/jcr:content/data/master
Hello,I have a simple question with regards to Adobe I/O which is, why do we need Adobe I/o, Is it just for creating project and authentication because for authentication while using APIs we can directly upload the certificate or whitelist the IPs then why specifically use Adobe I/o?Can somebody please let me know as this is urgent ?
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.