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 365 | Integration, Dataverse...
Suggested Answer

Use values from external html web resource for use in API call

(0) ShareShare
ReportReport
Posted on by 30

Hi All

I thought this thread suitably different to my previous thread to require a separate question.

Is it possible to use data from an external HTML web resource in an API call? eg 

I have successfully created a web resource which onLoad calls an external HTML page into Dynamics and passes it the accountId in the URL. This external page uses the accountId to lookup and display further data from a separate database including contacts related to that account.

I need to allow the user to then select one of these external contacts displayed on the HTML page and, using the API, create that contact in Dynamics.

I have familiarized myself with the API and can successfully create a contact using Postman.

Can I retrieve values from the external HTML page to then use them in the API call?  Can formContext work here? Or is that only for inbuilt Dynamics elements?

example html page with table of data.

Can I give the table elements an ID which formContext can understand?

I have the same question (0)
  • dynaman365 Profile Picture
    30 on at

    having watched this video I think I need to create a new action process, but this still requires I pass in values to use for each required parameter. These will be returned by the external web resource, but how to identify and pass them into the values?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi dynaman365,

    I think there is no need to create a new action process. You could directly send a request with Web API to create a contact in your web resource like creating a contact using Postman.

    docs.microsoft.com/.../web-api-basic-operations-sample

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans