web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer Service forum

Dynamics 365 USD - Session Data between different Hosted controls

(0) ShareShare
ReportReport
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:
I have the same question (0)
  • Kaustubh Hegde Profile Picture
    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 > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans