Giter Site home page Giter Site logo

kip-dk / angular-xrm-webresource Goto Github PK

View Code? Open in Web Editor NEW
27.0 9.0 14.0 284 KB

Building Dynamics 365 WebResources with angular 4

License: MIT License

C# 66.99% TypeScript 25.67% JavaScript 5.62% HTML 1.00% CSS 0.23% Batchfile 0.49%
dynamics-365 angular angular-cli visualstudio crm2011 crm2015 crm2016 csharp typescript

angular-xrm-webresource's People

Contributors

kip-dk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-xrm-webresource's Issues

Testing the webresource locally

Hi kip-dk,

first of all, thank you for your guide regarding Angular projects in Dynamics 365. I've experimented with this myself before reading your guide, and came to similar conclusions regarding the build processes for Angular applications in Dynamics.

I am opening this issue to let you know that I found a way to test locally the application in localhost:4200 with a working connection to Dynamics 365 (online), which was the main hurdle in having a full working environment for testing quickly Angular applications.

To achieve this I am using two Chrome Extensions:

  • **Allow-Control-Allow-Origin: * ** -- this extension allows me to bypass CORS and send requests from localhost to the Dynamics instance
  • Requestly -- this extensions allows to set custom headers for requests to defined domains. In this extension I manually set the "Cookie" header that I can retrieve with Chrome Developer Tools while browsing Dynamics 365 while authenticated.

This approach is not perfect, but the cookie will last for a few hours, allowing me to test and debug the application for a whole working day.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.