Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Can we create custom PayloadInfoBuilder in AEM?

Avatar

Level 1

Hi all,

I am using AEM 6.2.

I am creating tasks with custom task-type and I want to open the payload associated with them differently.

I investigated and found out that AEM tries 5 PayloadInfoBuilders to decide how to open tasks.

So, Is there any way to do that?

 

Thanks

Rahul

4 Replies

Avatar

Level 9

Rahul,

Question and context both are not clear to me. Would you mind elaborate your question clearly?.

Regards,

Jitendra

Avatar

Level 1

Jitendra S.Tomar wrote...

Rahul,

Question and context both are not clear to me. Would you mind elaborate your question clearly?.

Regards,

Jitendra

 

In AEM 6.2, I created a project task with a custom task-type and set its contentPath as /content/dam/mypath, now when I open inbox and click on this its notification, it opens URL http://localhost:4502/assets.html/content/dam/mypath.

When I investigated, I found out that there are five subclasses of PayloadInfoBuilder class which decide what URL should be opened.

I want to open it in my own custom way, so is there any way I can customize the URL?

Avatar

Level 1

smacdonald2008 wrote...

I am not seeing this Class in AEM Javadocs. https://docs.adobe.com/docs/en/aem/6-1/ref/javadoc/

 

I think they added it in AEM 6.2. I am using AEM 6.2

https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/