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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

I have simple component with 3 path fields dialog and sling model to fetch this fields values but i want to use this sling model in my basepage component head.html file and unable to render values in head.html, please anyone can suggest ho to do it

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ashar02 ,

 

If you have already written Sling Model but the property values are not being fetched I would advice to debug the sling model in the IDE (eclipse, etc). You need to run AEM server in debug mode for that.

 

Also, check the Sling Model status-

 

Felix console > Status > Sling Models

 

/system/console/status-slingmodels

 

Also, check below video for Sling Model usage explanation-

https://youtu.be/Wq93eTSdoC8

 

Thanks,

Ritesh Mittal

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ashar02 ,

 

If you have already written Sling Model but the property values are not being fetched I would advice to debug the sling model in the IDE (eclipse, etc). You need to run AEM server in debug mode for that.

 

Also, check the Sling Model status-

 

Felix console > Status > Sling Models

 

/system/console/status-slingmodels

 

Also, check below video for Sling Model usage explanation-

https://youtu.be/Wq93eTSdoC8

 

Thanks,

Ritesh Mittal