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 AX (Archived)

Integrating existing Angularjs2 UI to Microsoft Dynamics 365

(0) ShareShare
ReportReport
Posted on by

My company develops project management application and we are integrating our software into Microsoft Dynamics 365. Since our application is SPA developed with Angularjs we are thinking using web resources(html page) and plugin them into each pages. I have been doing some researched but there are some stuff I am not sure about.

1. Since each web resources(html) are html pages if we want to use angularjs do we need to load angular libraries a few times if you have multiple components in a page since each web resources are in the iframe?

2. If I understand correct all the entities give rest api(Web API) so data can be displayed in the web resource(html). Is there any way create custom rest api so for some data I can join entities on the server side?

3. Since the web resource(html) will be embeded into a iframe I think I can just add my whole application into a simple web resource(html) so I can save a lot of development time or is there any limitation on number of ajax call from one component?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at

    You talk about Dynamics 365, which consists of several different applications, but since you asked in the AX forum, I assume you mean Dynamics 365 for Operations (formerly known as Dynamics AX).

    Data entities are exposed as an OData service. You can either create your own data entities (and consume them through the OData service), or create traditionally web services (called "custom services" in Dynamics 365 for Operations). You can learn more on Wiki under Service endpoints.

    The idea of injecting another application through IFrames sounds quite suspicious to me. How would it work with the current responsive design on mobile phones, for example?

  • Community Member Profile Picture
    on at

    Thanks I always confused with D365 CRM and D365 for Operations and yes I was talking but D365 for Operations.

    Good to know about Service endpoints.

    About the IFrame that's how D365 CRM does when you insert web resource into a page, so I though it would be the same for D365 for Operation. However from the D365 for operation I don't see any way to upload the web resource.

  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at

    Operations don't allow you to directly insert other web pages, as CRM web resources seem to do, but you can create extensible controls (you'll find details on wiki and in some blog posts). You technically can create an extensible control containing an iframe, it might be the best approach in your case, but I would be careful (as I already mentioned). I think if you use an existing web page through iframe, you're likely going to cause problems to users accessing Operations from devices with small screens. It will be also difficult to keep the look of the injected application consistent with Operations.

  • Suggested answer
    Community Member Profile Picture
    on at

    Thanks Martin,

    The extensible control seems to be the one I should be looking to for Dynamics 365 for opertion.

  • Community Member Profile Picture
    on at

    At the end I decided not to integrate with angular since "D365 for operation" comes with javascript library with data binding feature.  

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans