Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

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

(1) ShareShare
ReportReport
Posted on by 38

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
    a33ik 84,325 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans