Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Performance problem while calling custom action via javascript.

(0) ShareShare
ReportReport
Posted on by

Hi there!

I have trial instance of Dynamics CRM Online (365).

I am implementing an integration and I have custom action has been written with .NET. 

This action includes logic such as:

1. Read config from CRM. (Config saved in CRM like 1 record of custom entity)

2. Send request to some...

3. Recieve response.

4. Update some entity.

I call it using Process.js.

But time for reading 1 config entity record is about 6 seconds.

It is bad for integration!

Why so long? May be because trial version, or different server locations of CRM instance parts?

The code of reading part:

var config = dataContext.xxx_integration_configurationSet.SingleOrDefault();  <-- executed about 6 seconds


I have only 1 config entity record in CRM.

*This post is locked for comments

  • Suggested answer
    sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: Performance problem while calling custom action via javascript.

    Hi,

    Please check this post:

    mbs.microsoft.com/.../PerformanceOptimizationsCRMOnlineSuccess

    Thanks,

    Sandeep

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans