Expand my Community achievements bar.

How to avoid calling an Osgi service multiple times?

Avatar

Level 2

If I have created a service say PolicyService and I should be able to call this service only once in say Component A in a webpage, and whatever value is returning or logic is being executed in PolicySevice should be rendered in all other components of the webpage? Basically service call should be happening only once when the webpage is loaded.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

Hi @RekhaAd7473 ,

 

I belive you have asked this question in wrong channel, please look for AEP channel here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform/ct-p/adobe-experience-pla... 

 

Regards,
Aditya

Thanks,

Aditya Chabuku