Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics 365 USD - Session Data retention 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, to data retention. Thanks in advance.

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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