Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to reuse one sling model into another in AEM SPA

Avatar

Level 7

I have written one Button SlingModel and I wanted to reuse it into another model. In SPA I can't achieve that. 
I tried with 

@Deleted Account
@getter
private ButtonModel buttonModel;

 

It is returning null. Is this possible?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor