Hello, We are trying to set-up OAuth Server-to-Server credential implementation for AEM.References used:https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/implementation/https://developer.adobe.com/developer-console/docs/guides/authentication/Server...
Hi All,I have to check a condition where I need to get the user who initiated the workflow and then find it's user group.if user-group belongs to "allowed-managers" then execute the piece of code, so how to get the user-group.?? public void execute(WorkItem workItem, WorkflowSession workflowSession,...
Hello Team, We have added one JSON file in our dam at below path:/content/dam/mysite/file.json which is holding some JSON content.so when we call it from our endsite domain i.e. https://mysite.com/content/dam/mysite/file.json, It give me response. Requirement:There is other application hosted using ...
Hi Team,I have to hide workflow model for all but show only to specific users.I have created a user group with two users in it. and Now show the workflow only to these two users, rest should not able to see. e.g hide everyoneAllow "specific-user-group" [only to those 2 members]How to do this.?Seems...
I'm running into an issue with my dispatcher configurations, debugging this is proving out to be insanely challenging.Env -AEM as cloud service. There are a couple of content fragment model APIs that a web app is consuming. The web app has 3 non-prod environments, each with its own domain and all th...
Hi all,We have a challenge where we're being requested to time stamp PDFs that we upload to AEM. Currently, I have written a script in Acrobat that adds the date automatically when the PDF is first opened (as long as the form is cleared before uploading). Problem is, it only works for the very first...
I want to create a pdf file based on inputs from user and store the file in DAM. I tried creating a pdf file using this code : InputStream stream = new ByteArrayInputStream(attachmentData.getBytes(StandardCharsets.UTF_8));final ValueFactory valueFactory = session.getValueFactory();final Binary binar...
Hi All, I am working on the asset share commons project and created an own search template similar to asset share commons search type template and changed the sling resource type to project specific search page which has a slingResourceSuperType of asset share commons search page. I have authored th...
We have several servlets, e..g "register" and "login".Some of these need to read a list of allowed countries, or swear words (so they cant create accounts with swear words in the display name etc). If this was non-cloud we would make these OSGI configs, which have the beautiful OSGi editor tools. Ho...
Hello, I am trying to update a variable in a Workflow using ECMA script. The script is very simple: var workflowItemData = workItem.getWorkflowData(); var workflowData = workItem.getWorkflow().getWorkflowData(); if (workflowItemData.getPayloadType() == "JCR_PATH") { var path = workflowItemData....