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] WebApiClient intellisense #20

Closed phuocle closed 7 years ago

phuocle commented 7 years ago

Please help me how I can get intellisense for WebApiClient in my Visual Studio 2017

Thanks

DigitalFlow commented 7 years ago

Hey @phuocle,

Are you using TypeScript or plain JS?

For TypeScript typings are shipped with the code, you'll just have to import 'xrm-webapi-client'. For plain JS you'll need to add WebApiClient non-minified to your project and in all scripts where you need it, add a reference tag at the very top.

This might look like this: /// <reference path="WebApiClient.js" /> This is a relative file path, you'll have to adjust it to the location where you saved it.

Kind Regards, Florian

DigitalFlow commented 7 years ago

Hey @phuocle,

I guess you got it working? I'll close this issue, please reopen if it did not work out for you.

Kind Regards, Florian