Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

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

Avatar

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

Avatar

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.