XRM-OSS / Xrm-WebApi-Client

A promise-based JavaScript library for the Microsoft Dynamics CRM WebApi - TypeScript type definitions available
https://xrm-oss.github.io/Xrm-WebApi-Client/
MIT License
100 stars 28 forks source link

Question about using API from a web page #17

Closed whitneyland closed 7 years ago

whitneyland commented 7 years ago

Can the API be used to access CRM data like users, sales pipeline, etc, from a normal HTML web site?

Please forgive the ignorance, but I'm not sure what you mean here:

The framework is supposed to be executed on CRM forms or on CRM web ressources, where the CRM context is available

I'm just looking for the simplest way to use JavaScript to get data from https://\.crm.dynamics.com/api/data/v8.0/

DigitalFlow commented 7 years ago

Hey there,

Right now it can only be used on CRM WebResources and forms. Adding authentication for external sites is work in progress right now.

Kind Regards, Florian

DigitalFlow commented 7 years ago

I'll close this for now, as I'll need to open an enhancement issue as soon as I have an Azure AD for testing.

DigitalFlow commented 7 years ago

Hey @whitneyland,

Sorry for the delay. Usage from an external website is now possible.

Kind Regards, Florian