Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I'm building a single page application integrates with Dynamics CRM 2015 On-premise for a sales team to take sales orders remotely using tablets.
I have a doubt with handling the OrganizationService connection through CRM SDK. The context is the following:
I have a front-end, built with Angular and WinJS, and the back-end is a bunch of CRUD operations in a Web API using C#. These operations execute different actions in the CRM Organization. Besides, each sales person has a unique CRM System User. I built the back-end to use OAuth authentication with bearer token. But now, I have doubts for handling the OrganizationService instance for each user. When a sales person log in into the app, I have to check if the user is valid and get an OrganizationService object to execute all the operations the user is going to do.
My question is, How can I handle the OrganizationService instances for each user?
I thought to do this through a connection pooling. Any other ideas?
Thanks in advance
You could use the built in WebAPI - this handles all of that for you? msdn.microsoft.com/.../mt593051.aspx
Well, I need to do some complex queries to retrieve different entities. I want to do that using LINQ. Besides, the new Web API was available from Dynamics CRM 2015 Update 1 (Online only). My client has Dynamics CRM 2015 On-premise (7.0.1)
Ok - I understand.
IF you use the Xrm.Client that handles connection pooling for you - see my post about this - develop1.net/.../MicrosoftXrmClient-Part-2.aspx
Hope this helps
How did you get on Hugo? Do you need any more help?
Thanks for asking. I decided for creating a manager of CRM connections, so I can create/get dynamically CRM Context linked to the token the user adquired in the authentication and authorization phase. Your previous post gave me the idea using Xrm.Client, so thanks for the approach
Could you please elaborate with a psuedo code if possible?
Thank you very much.
link is not working
Business Applications communities