Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Sling Model : All you need to know

Avatar

Level 8

12/31/23

Hello All,

 

Many enthusiastic bloggers has covered sling model concepts. But thought of writing all the sling model concepts that the developers, Architects should be aware of. Let me know, if I miss any concepts here.

 

Various Annotations used
Why to avoid @inject annotation
Use of Adaptable.
Sling Delegation Pattern for Sling Model
Get Design dialog values from sling model
Reading inherited Page Properties
Handling Nested multi field values from dialog
Sling Model Factory
Sling Model Caching

2 Comments

Avatar

Administrator

1/5/24

@Mahesh_Gunaje , can you please share the details in the following format? Please edit your original post.

Request for Feature Enhancement (RFE) Summary:  
Use-case:  
Current/Experienced Behavior:  
Improved/Expected Behavior:  
Environment Details (AEM version/service pack, any other specifics if applicable):  
Customer-name/Organization name:  
Screenshot (if applicable):  
Code package (if applicable):  
Status changed to: Needs Info

Avatar

1/9/24

Hello @Mahesh_Gunaje , I would like to add a few.
Sling Model Exporter, 

parameteres in "@adaptables"

Default Injection Strategy

"@Self" annotation.