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

SPA Angular - Sling model Exporters - How to add multiple resource type to a sling model exporter

Vanitha
Level 1
Level 1

We have a requirement, our sling model has been consumed by multiple components.

Eg: 

GenericPageModel - This model has been included in several components

 

Can someone help me solving this?

1 Reply
Vijayalakshmi_S
Community Advisor
Community Advisor

Hi @Vanitha,

When you say "GenericPageModel is included in several components", you mean it is instantiated via ModelFactory ?

Could you please elaborate your use case.