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?