Add experience to project tiles programatically | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
shelly-goel
shelly-goelAccepted solution
Employee
Jan 5, 2021 12:00 AM UTC

@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

3 replies

Suraj_Kamdi
New Participant
Jan 5, 2021 6:37 AM UTC

@manisha594391 

Can you please elaborate more on this? 

 

Translate
manisha594391
Level 4
Jan 6, 2021 9:04 PM UTC
@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
Translate
shelly-goel
shelly-goelAccepted solution
Employee
Jan 5, 2021 12:00 AM UTC

@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

Translate