since ‎25-06-2014
‎29-01-2021
anjali_biddanda
Level 3
Re: Can we add custom columns to AEM inbox?
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi guys, for anyone looking to do this in 6.5.5 and above, here's the way to do it: https://experienceleague.adobe.com/docs/experience-manager-learn/forms/inbox-customization/add-married-column.html?lang=en#create-service

Views

86

Likes

0

Replies

0
Can we add custom columns to AEM inbox?
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi guys, Can we add custom columns to AEM Inbox: http://localhost:4502/aem/inbox ? E.g. Columns for 'Initiator', and 'Payload path', and update the 'Description' to add Jira details? I've seen some questions here. This one says https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/customize-overlay-aem-6-4-inbox-screen/qaq-p/289954# not to overlay if it can be avoided. While I've seen this https://stackoverflow.com/questions/47160460/add-a-new-custom-property-to-workflow-inbo...

Views

104

Likes

0

Replies

1
Re: OutputService.generatePDFOutput connection to failed Service
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Thanks @LincolnDlamini. That was very helpful. However, I'm on macOS 10.15 Catalina, which unlike earlier versions which supported 32-bit apps, Catalina has all 32-bit code ripped out. My only option is to run Parallels or a VM with the older macOS 10.14.6.

Views

194

Likes

0

Replies

0
Re: OutputService.generatePDFOutput connection to failed Service
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
@smacdonald2008, we're doing the same. `return outputService.generatePDFOutput(templatePath, inputXml, outputOptions);` where OutputService is a Reference to com.adobe.fd.output.api.OutputService. We're seeing the same error pasted by @nchandra. This works on a windows machine, not on my MacOSX. We're using AEM 6.5.3 and adobe-aemfd-win-pkg-6.0.122.zip. cc: @mayankg

Views

238

Likes

0

Replies

0
Re: OutputService.generatePDFOutput connection to failed Service
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
@nchandra/ @LincolnDlamini did either of you find the cause for this error?

Views

273

Likes

0

Replies

0
Re: Activate page not working on AEM 6.3.2.2
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Or the lastModified or lastModifiedBy properties are missing if you've deployed these from code. Thanks Andrew.

Views

178

Likes

0

Replies

0
We're considering using this HTTP Assets API for Content...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
We're considering using this HTTP Assets API for Content Fragments. This API endpoint will be consumed by channels. (Apps, Salesforce etc). However this Assets API only captures dc namespace metadata from the metadata node. Metadata such as lastReplicated date from the jcr:content node of asset is not captured. The need for this lastReplicated date is so that channels only retrieve the CF if it has changed, if not, the cached version at their end is used. As I understand this OOTB Assts API cann...

Views

128

Like

1

Replies

0
We're considering using this HTTP Assets API for Content...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
We're considering using this HTTP Assets API for Content Fragments. This API endpoint will be consumed by channels. (Apps, Salesforce etc). However this Assets API only captures metadata from the dc namespace. Metadata such as lastReplicated date is not captured. The need for this lastReplicated date is so that channels only retrieve the CF if it has changed, if not, the cached version at their end is used. As I understand this OOTB Assts API cannot be customised. We're looking into other approa...

Views

163

Like

1

Replies

1
Re: Launcher gets triggered by another workflow
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager Forms
Thanks Jorg. You're right, I think the event-user-data can only be used for the Assets workflows. Btw, the answer for this has been updated here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/launcher-gets-triggered-by-another-workflow/qaq-p/383822 I had incorrectly raised this question under Forms, and there's a duplicate question raised in AEM.

Views

227

Like

1

Replies

0
Re: How to get list of Users/Group with specific privileg...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
I've added the solution as an answer above.

Views

195

Likes

0

Replies

0
Re: How to get list of Users/Group with specific privileg...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
You can do this: Authorizable userGroup = userManager.getAuthorizable("test-usergroup"); JackrabbitAccessControlManager jMgr = (JackrabbitAccessControlManager) adminSession.getAccessControlManager(); jMgr.hasPrivileges(path, Collections.singleton(userGroup.getPrincipal()), privileges);

Views

145

Like

1

Replies

0
Re: How to get list of Users/Group with specific privileg...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi @jura_khrapunov, thanks for your quick response. Years back, I understand. I'm trying other approaches.

Views

208

Likes

0

Replies

0
Re: How to get list of Users/Group with specific privileg...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi @jura_khrapunov , were you able to use this to solve your issue? userManager.findAuthorizables(path, "rep:Group")I have the same problem. I need to know what user groups have write access to a given path. I can't use the above successfully. It only works for relative paths like userManager.findAuthorizables("jcr:primaryType", "rep:Group") @smacdonald2008 , do you have any suggestions?

Views

221

Like

1

Replies

3
Re: Jacoco coverage report has 0 coverage, although junit...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi @Manjunath_K, all good after I changed it to JUnit5 @ExtendWith syntax.

Views

468

Likes

0

Replies

0
Re: Jacoco coverage report has 0 coverage, although junit...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi guys, I changed the junit4 syntax (@RunWith(MockitoJUnitRunner.class)) to use @ExtendWith(MockitoExtension.class) and this fixes it. Jacoco doesn't understand the old syntax.

Views

584

Likes

2

Replies

3
Jacoco coverage report has 0 coverage, although junit tests run with 100% coverage
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi Everyone, I have a workflow process class and a junit test class for it. Junit tests run successfully. However, Jacoco reports 0% coverage. It seems to ignore this class because of the annotation:@RunWith(MockitoJUnitRunner.class) I'd like to use the new @ExtendWith(MockitoExtension.class), but I'm not successful in getting the tests to run successfully. I haven't seen an example of this Junit5 notation used for Workflow processes. There are recent unit test examples for workflow processes he...

Views

617

Likes

0

Replies

4
Re: Multiple conditions in workflow launcher
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Later versions of AEM allow multiple conditions to be added to list when you use the Launcher configuration in Touch UI.But you could try the following, as this is how it is constructed when you add multiple conditions in touch ui:(condition 1) && (condition 2)

Views

188

Like

1

Replies

0
Re: Multiple conditions in workflow launcher
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Later versions of AEM allow multiple conditions to be added to list when you use the Launcher configuration in Touch UI.But you could try the following, as this is how it is constructed when you add multiple conditions in touch ui:(condition 1) && (condition 2)

Views

193

Like

1

Replies

0
Re: How to set up a rep:policy(deny) for a specific user...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
This does it: //Create your adminSession using a mapped service user Map param = new HashMap(); param.put(ResourceResolverFactory.SUBSERVICE, "write-service"); //ensure you have write-service user created via a config script or on usermanager ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param); Session adminSession = resourceResolver.adaptTo(Session.class); AccessControlManager aMgr = adminSession.getAccessControlManager(); // create privilege Privilege[...

Views

353

Like

1

Replies

0
Re: Failed to add ACL permissions in AEM 6.3
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
You don't need to use CUG here, as they are for pages that need login. You can use AccessControlUtils.getAccessControlList(adminSession, path) to get the ACL instead. //Create your adminSession using a mapped service user Map param = new HashMap(); param.put(ResourceResolverFactory.SUBSERVICE, "write-service"); //ensure you have write-service user created via a config script or on usermanager ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param); Session a...

Views

175

Likes

0

Replies

0
Re: Failed to add ACL permissions in AEM 6.3
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Refer to comment above for a fix.

Views

164

Likes

0

Replies

0
Re: How to set up a rep:policy(deny) for a specific user group to not access an AEM page programmatically
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
@srig786, did you get this working?

Views

355

Likes

0

Replies

0
Cannot create a new page after AEM 6.5 in-place upgrade.
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi guys,We've done an in-place upgrade from AEM6.4 to AEM6.5. We've seen a problem with not being able to create a new page. We see this when using the create page wizard:Error:java.lang.UnsupportedOperationException: create 'content' at /mnt/overlay/wcm/core/content/sites/createpagewizardAnd here's the error log:26.04.2020 14:42:07.956 *ERROR* [0:0:0:0:0:0:0:1 [1587876127953] POST /mnt/overlay/wcm/core/content/sites/createpagewizard.html/content/xxxxx/xxx/xxxx/xxxx HTTP/1.1] org.apache.sling.se...

Views

3.3K

Likes

0

Replies

7
Re: Unable to edit pages after in-place 6.5 upgrade
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
I tried purging these workflows from the JMX console but the console does not give you a success message, so I doubt it worked. When we tried again and used the correct model ID for the workflow and did the purge, the pageInfo.json started showing and the Pages became editable. So the solution is to PURGE any workflows in a RUNNING state that use a stale workflow model.

Views

1.4K

Like

1

Replies

0
Re: Unable to edit pages after in-place 6.5 upgrade
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
I tried purging these workflows from the JMX console but the console does not give you a success message, so I doubt it worked. When we tried again and used the correct model ID for the workflow and did the purge, the pageInfo.json started showing and the Pages became editable. So the solution is to PURGE any workflows in a RUNNING state that use a stale workflow model.

Views

1.8K

Likes

0

Replies

0
Unable to edit pages after in-place 6.5 upgrade
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
We did an in-place upgrade to 6.5 from 6.4.2. The pages are now not edit-able (even as an admin). I'm seeing this error:Internal Server ErrorCannot serve request to /libs/wcm/core/content/pageinfo.json in com.day.cq.wcm.core.impl.servlets.PageInfoServletException:java.lang.NullPointerExceptionThis is the what i see when trying to load /libs/wcm/core/content/pageinfo.json: 0 TIMER_START{Request Processing} 0 COMMENT timer_end format is {,} 5 LOG Method=GET, PathInfo=null 5 TIMER_START{handleSecu...

Views

2.4K

Likes

0

Replies

5
Hi / , I'm seeing the same issue after an in-place upgr...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Hi @anurag-wyndham / @sreedobe , I'm seeing the same issue after an in-place upgrade to AEM6.5. Do either of you remember what you did to fix it?

Views

13.2K

Like

1

Replies

0
Re: How to use a different OSGI bundle for your imported...
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
Thanks Arun, I gave that a try. It didn't help. javax.servlet.jsp is still using org.apache.sling.scripting.jsp-api.

Views

1.0K

Likes

0

Replies

0
How to use a different OSGI bundle for your imported package
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
AEM 6.5 has two OSGi bundles (A and B). A = org.apache.sling.scripting.jspB = org.apache.sling.scripting.jsp-api My project bundle has a Java class that uses:import javax.servlet.jsp.PageContext; I want this imported package to use OSGI bundle A, not B. In AEM 6.4, this was our imported packages list:javax.servlet.jsp,version=2.1.0 from org.apache.sling.scripting.jsp (525)javax.servlet.jsp.tagext,version=2.1.0 from org.apache.sling.scripting.jsp (525) But in AEM 6.5, these imported packages are ...

Views

1.0K

Likes

0

Replies

2
Re: AEM 6.2 to 6.5 Upgrade - dialogs missing value
Avatar

anjali_biddanda

anjali_biddanda
- Adobe Experience Manager
To add to my original post, this is what I see in the logs when I open my dialog:

Views

2.7K

Likes

0

Replies

0