Add experience to project tiles programatically | Community
Skip to main content
manisha594391
Level 4
January 4, 2021
Solved

Add experience to project tiles programatically

  • January 4, 2021
  • 2 replies
  • 1314 views

Hi Team,

 

Is there a way to Add experience to project tiles programatically in aem 6.5

TIA

 

Regards,

Manisha

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shelly-goel

@manisha594391 

I don't think there's an API available to create a new tile similar to Projects API. You could simply use JCR API to add additional experience tile nodes under /content/projects/<your project>/jcr:content/dashboard/gadgets/experiences. Add a new node and following properties as below (using jcr api programmatically):

 

AEM logic : /libs/cq/gui/components/projects/admin/dashboard/tiles/experiences/body/body.jsp

2 replies

shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
January 5, 2021

@manisha594391 

I don't think there's an API available to create a new tile similar to Projects API. You could simply use JCR API to add additional experience tile nodes under /content/projects/<your project>/jcr:content/dashboard/gadgets/experiences. Add a new node and following properties as below (using jcr api programmatically):

 

AEM logic : /libs/cq/gui/components/projects/admin/dashboard/tiles/experiences/body/body.jsp

Suraj_Kamdi
Community Advisor
Community Advisor
January 5, 2021

@manisha594391 

Can you please elaborate more on this? 

 

manisha594391
Level 4
January 6, 2021
@suraj_kamdi I have a requirement, wherein I have to create project under </projects.html/content/projects> programmatically. Also instead of manually adding the experience get the experience added during the creation of project itself. We have project api via which the project and respective tiles could be created using custom template. However, I am looking for some help around creation of experience for this project programmatically