Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Add experience to project tiles programatically

manisha594391
Level 3
Level 3

Hi Team,

 

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

TIA

 

Regards,

Manisha

AEM projects
1 Accepted Solution
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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):

 

shelly-goel_0-1609804294796.png

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

View solution in original post

3 Replies
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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):

 

shelly-goel_0-1609804294796.png

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

View solution in original post

manisha594391
Level 3
Level 3
@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