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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Request Data from CRM to a website

(0) ShareShare
ReportReport
Posted on by 3,460

I have a website(asp.Net) where users can log in and check out their own profile or the profile of other people.

Some data needs to be saved/calculated in CRM,  and then needs to be send to the website.

So the use-case should be, whenever I open the profile of any user, there should be a request send to CRM with the ProfileID, and CRM will calculate or send the data back to the website.

I know this will only work with an Action that takes a ProfileId, ill have to do my retrieve in this Action, maybe do some logic and send this data back. (Or are there any other ways ?)

But I dont know how can i trigger the request from the website, shall I open a connection in the website and then trigger this ?? (Would this be slow)?

Is there another way of achieving what i want to do?

How will the speed be of i will do lots of request to crm to get some data?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    How frequent would you like the information to get sent through,creating lots of connections to CRM will slow down your system dramatically,You can store the profiles in the array in a temporary memory and once a day create a scheduler to go call CRM ,connect once and update all the profiles and calculations,send back all the information and clear your temporary folder.

    second to that,How complex are the calculations,what is performing the calculation,default system,plugin,workflow?

    You can implement the calculations logic into your website and save this information here,create a scheduler and once per day or so ,go into CRM  and update this information.

  • Letoir Profile Picture
    3,460 on at

    Well in the beginning the request will not be alot, but in time it will grow alot.

    The website will have about +10000 users, so yes creating lots of connections is going to be dramatic.

    Second to that is it will have callculations done by the plugin or maybe not, still need to figir it out.

    But the point is, users will have to do some test in the website, this data will be send to CRM, and when you go to the users profile, you will see the new scores including previous scores.

    So once a day getting all the data will show outdated data on the website :s

  • Suggested answer
    Community Member Profile Picture
    on at

    Have you thought using a singleton class to generate service object of MS CRM service (I have also not tried this)? This way, you can talk to CRM directly using the CRM services and there will not be multiple connections?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans