Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Calling external API from JavaScript in Dynamics Portal through custom code in CRM

(1) ShareShare
ReportReport
Posted on by 48

We are trying to call an external API from Javascript in one of the pages of the Dynamics Portal. Unfortunately this external API is only available from a fixed IP address. So we need some custom server code in Dynamics CRM that calls the API and is available from Javascript.

Any suggestions what architecture we can select best?

Hope this question is clear to you all. Many thanks for your responses!

(The external API provides us with a list of addresses that belong to a given postal code.)

*This post is locked for comments

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Calling external API from JavaScript in Dynamics Portal through custom code in CRM

    Hello,

    Solution I see is a bit complex but possible here is how it can work:

    1. Your server with static IP - it will contain endpoint that will be published for external usage and will retrieve data from API you mentioned.

    2. Plugin that will get data from your external endpoint and return results. Approach how to develop that plugin and use it in portal described here - uds.systems/.../how-to-run-custom-code-in-dynamics-365-portal

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,000 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,850 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans