Welcome to the Adobe Developer Community! Connect with peers to ask questions and share best practices.
Recently active
How do we disable the move button for published pages and enable the move button for unpublished pages,This is in order to avoid the active pages being moved and the URL being changed.
Using the following code, the call to createPdfOperation.Execute(executionContext); never returns. private async Task ConvertToPDF() { try { if (checkedNodes.Count() == 0) return; localService.isLoading = true; // Initial setup, create credentials instance. Credentials credentials = Credentials.ServicePrincipalCredentialsBuilder() .WithClientId(clientId) .WithClientSecret(clientSecret) .Build(); //Create an ExecutionContext using credentials and create a new operation instance. ExecutionContext executionContext = ExecutionContext.Create(credentials); foreach (FileNode bn in checkedNodes) { if (bn.ContentType == "SharePointFolder" || bn.ContentType == "Root" || bn.ContentType == "BlobPrefix") continue; IFile spDoc = await localService.DownloadSharePointDocument($"{SharePointPath}/{bn.Path
I have successfully integrated Adobe Commerce GraphQl and Rest API into one single GraphQl unified API using API-Mesh (mesh.json), Now I am trying to integrate third-party ERP APIs using API-Mesh - (mesh.json), I have tried multiple solutions but no luck, Could you please guide me for the same.
Is it possible to content fragment fields in other fields of the same content fragment? For example...Lets say I have a content fragment that has a field called formalName and shortName. These are basic text fields. In the same content fragment I provide an author a text area with RTE capabilities. They would like to enter text that says something like "The topic of this article is [shortName]." This would account for the possibility that the shortName or formalName could be updated at any time and should be able to be easily updated rather than having to manually search for usage. Is this possible or is there a different approach that should be considered?
Mundane question.I should integrate a marketo instance with my AEMaaCS environment.In all the online guides I read that I should only need to enable the connection from the marketo app in the Cloud Services section of the AEMaaCS instance, but my instance does not have such an app.Do I need to request Adobe Support for activation or do I need other packages to be installed before integration with Adobe?Do you have any guide on integrating from scratch?Thank you
package com.company.digital.core.models;import java.util.ArrayList;import java.util.Iterator;import java.util.List;import javax.annotation.PostConstruct;import javax.inject.Named;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.models.annotations.Model;import org.apache.sling.models.annotations.injectorspecific.RequestAttribute;import org.apache.sling.models.annotations.injectorspecific.ScriptVariable;import org.apache.sling.models.annotations.injectorspecific.SlingObject;import org.apache.sling.models.annotations.injectorspecific.ValueMapValue;import com.day.cq.wcm.api.Page;import org.apache.sling.models.annotations.DefaultInjectionStrategy;@Model(adaptables = Resource.class, defaultInjectionStrategy=DefaultInjectionStrategy.OPTIONAL)public class ChildPagesModel {@ValueMapValueprivate String parentPath;@SlingObjectprivate SlingHttpServletRequest request;@Sling
Currently, the system saves error logs in the error.log I would like to send an email to the administrator at the same time. How can I configure it
I want to enhance the functionality of a default carousel component by adding custom navigation buttons using JavaScript or jQuery, I don't understand the carousel's API or the mechanism it uses for navigation. I've looked through the documentation on the component, but couldn't find anything. Are there predefined methods to control the carousel programmatically? How do you simulate calling the function that moves the carousel forward and back? Is there nothing like you use for Bootstrap:$('#my-next-button').click(function(){ $('#myCarousel').carousel('next'); });
I am trying to use the adobe html to pdf library and try to create a pdf file from html page using dot net core. the issue I am facing while using the library I am able to generate the pdf but the html file still in open state.Credentials credentials = Credentials.ServicePrincipalCredentialsBuilder().WithClientId(clientId).WithClientSecret(clientSecret).Build();//Create an ExecutionContext using credentials and create a new operation instance.Adobe.PDFServicesSDK.ExecutionContext executionContext = Adobe.PDFServicesSDK.ExecutionContext.Create(credentials);CreatePDFOperation htmlToPDFOperation = CreatePDFOperation.CreateNew();// Set operation input from a source file.FileRef source = FileRef.CreateFromLocalFile(filePath);htmlToPDFOperation.SetInput(source);// Provide any custom configuration options for the operation.SetCustomOptions(htmlToPDFOperation);// Execute the operation.FileRef result = htmlToPDFOperation.Execute(executionContext);string webRootPath = _webHostEnvironm
I get this error when trying to install pdfservices-SDK. File "C:\Users\User\AppData\Local\Temp\pip-build-env-nwavifvl\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 107, in __getattr__raise AttributeError(attr)AttributeError: cython_sources[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.error: subprocess-exited-with-error× Getting requirements to build wheel did not run successfully.│ exit code: 1╰─> See above for output.
Hello everyone, We are working on an app built with App Builder. I would like to try the publish process. I saw this documentation : https://developer.adobe.com/app-builder/docs/getting_started/publish_app/ . The problem is, when I am on the "App Builder applications approval process" page, I am unable to upload an icon. I always get this error : I tried with very simple images like : And more complex... Without any success. I also checked the error from adobe server... It seems to be a server error :{ "errors": [ { "message": "500: Internal Server Error", "locations": [ { "line": 2, "column": 3 } ], "path": [ "uploadXRIcon" ], "extensions": { "code": "INTERNAL_SERVER_ERROR", "response": { "status": 500,
Hey! I'm creating a fillable form which also has a dynamic table. I was able to create the dynamic table with no problems, this table contains a cell to display the index row. However I'm not being able to update that index value dynamically, any suggestions?
I need to use Adobe API more than 500 times as my clients grow. The documentation says it's max 500 and can't be increased.It even does say what kind of time frame and it's really weird that they don't have option although I'd like to pay for more AP calls. Can you guide me about that please?
Given that a user is part of project-author group then the component selection window is pre-filtered by the project-component component group, once we click on the Parsys or responsive grid, please find below screenshot, once I log into author instance and open the page, to author and click on parsys to add the component , then need to see project-component group components only in the list, example screenshot I given a sample one showing general group.
When i am enabling minify from OSGI config HTML client library manager, minify option is set with jsProcessor= min:gcc. But when after clearing the cache & Rebuild Client libraries, .min.js extension is added to the JS files, and some whitespace its removed, but not actual minification is happening. And some of the files are still not minified, they are just loading with .min.js extension, and the content is same as it is present in .js file. Can you please help me to resolve this issue ?I already have tried with multiple configurations for jsProcessor, but didn't work.
Hi, I want to Earn Validate 1 Badge in Experience League Community. How we can do that?
our team needs to learn more about Magento 2.4.5 site.Our ongoing tasks include:Importing productsEnhancing the checkout processIntegrating shipping via APIImplementing Elastic searchImproving layered navigationIntegrating a simple CRMImplementing product labelingManaging membershipsUsing GitHub Please recommend online courses. Thanks
I'm encountering an issue while attempting to update a segment using the Adobe Analytics API.The error message I receive is as follows:Failed to update the segment: 403 {"errorCode":"insufficient_access","errorDescription":"No editing access to this item granted. Userid=200834134 does not match ownerid=200829508","errorId":"973c2d18-ef4e-4795-894e-bb5b1d173a63"}Despite the segment belonging to me and my use of OAuth Server-to-Server credentials (also under my control) for API connection, I am only able to read (get) or create segments, but not update them.
Hi all, please help me 🙂 1) I created an event as in the documentation:bin/magento events:info plugin.magento.catalog.api.category_repository.save bin/magento events:subscribe observer.catalog_category_save_after --fields=entity_id --fields=parent_id cat app/etc/config.php ... 'io_events' => [ 'observer.catalog_category_save_after' => [ 'fields' => [ 'entity_id', 'parent_id' ], 'enabled' => 1 ] ] ...2) Next, according to the documentation, I connected the event 3) In the event_data table I see that status = 1, which means that the event has been sent 4) In system.logreport.INFO: Event data batch of 1 events was successfully published. [] []5) xDebug receives a response that the event was sent successfully. 6) But it doesn't come to my microservice and I can't get it in the Event Browser tab. Questions:1) Why the event does not come to t
Hello friends, my API MESH key has been leaked in my android app (x-api-key ),what dangers threaten me and how can I check them to find out tnxxxx
Is it because Adobe Dev isn't a Product/Service, but a separate interface altogether?
I created a page called telephone, If i try to use this page in any anchor tag then the href is not forming for that a tag.ex URL:- /content/project/home/telephone.htmlI have tried disabling the link checker and also tried removing all the configuration related to link checker but still the issue persists. This is happening in both author and publish instances. Has anyone has any idea what could be the issue? Thanks in advance.
I'm trying to setup the application that will execute calls to Adobe's Stock API on behalf of the user. In order to do that, I've setup a new project in Adobe's Developer Console, added credentials of type OAuth Single-Page App and as a result received a client_id. I've also setup redirect uri & redirect uri pattern for the integration. Afterwards, I've tried to test the authorization flow by entering the IMS url in my browser: https://ims-na1.adobelogin.com/ims/authorize/v2?client_id=<client_id> (of course the real url I'm using contains actual client_id and not the placeholder). The outcome was that right away I received 302 response from the server that redirected me back to the default redirect_uri that I specified in the Developer Console with query param "error=invalid_scope" added. That is despite the documentation clearly stating that the scope query parameter is not needed. I've tried modifying the url to include the scope: https://ims-n
I want to build a project with its front-end being built-in Edge delivery services(EDS). Its data is coming from Adobe Commerce through APIs. I have to integrate EDS with Adobe Commerce. What are the steps to do the integration and how the data will be exposed and consume in EDS?
Hi Below are the errors/warnings showing while I am running mvn clean test on project (core module).WARN org.apache.sling.models.impl.AdapterImplementations - Unable to reflect on com.adobe.cq.commerce.core.components.internal.models.v1.contentfragment.CommerceContentFragmentImpljava.lang.NoClassDefFoundError: Lcom/adobe/cq/cif/common/associatedcontent/AssociatedContentService; at java.base/java.lang.Class.getDeclaredFields0(Native Method) at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3062) at java.base/java.lang.Class.getDeclaredFields(Class.java:2249) Unable to reflect on com.adobe.cq.commerce.core.components.internal.models.v1.list.CommerceListImpljava.lang.NoClassDefFoundError: Lcom/adobe/cq/cif/common/associatedcontent/AssociatedContentService; at java.base/java.lang.Class.getDeclaredFields0(Native Method)These errors come once the CIF core component dependency to the core module o
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.