Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

Dynamics 365 USD - Session Data between different Hosted controls

Posted on by

Hi All,

We are using USD client along with Dynamics 365 CRM. We customized USD client and extensively using WPF XAML based CCA Hosted Controls for our application. We are using 3rd party oData service calls to get data from LOB systems and then we process and bind in host controls. This data volume is moderately large as service responses are returning multiple collections of data.

Now, to tune performance and reduce multiple service call for same service data(Business requirement) in different hosted controls(Screens), Is there a way in USD to retain the set of data(JSON objects/XML response) across sessions so that different hosted control can refer the same data when required, instead of calling the services again.

We have tried to store data in USD Context ( CopytoContext action) after serializing the data objects into XML but it seems context has a limitation of string characters so the copying process is not working , though no exception is coming.

Also studied USD Caching approach but it seems it is not purposed for this type of scenarios.

Please suggest possible technical approach or USD feature for this scenario.

Categories:
  • Kaustubh Hegde Profile Picture
    Kaustubh Hegde 330 on at
    RE: Dynamics 365 USD - Session Data between different Hosted controls

    It is not advisable to store large amount of data inside USD.

    The best approach to store large data to be accessible by different applications in USD would be to store the data in a File in the local storage and then access that file whenever-wherever required. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans