Microsoft Dynamics 365 Blog

This great blog post from Bardur Knudsen (Currency Exchange Rates from RSS) sounded to me like an invitation to extend it using .NET interop variables with Microsoft Dynamics NAV 2009 R2 based on System.XML namespace.

http://msdn.microsoft.com/en-us/library/system.xml(v=VS.80).aspx

Attached to this blog you will find 3 objects in TXT format (1 table, 1 codeunit, 1 page).

Inside the codeunit there is a useful code that may be worth looking at.

This code has been written to perform the same action and achieve the same result BUT using 3 different approaches in order to understand how .NET interop works compared with Automation Server usage.

Those 3 different approaches are:

  1. Use System.XML dotNet variables running at Service side (property RunOnClient = No)
  2. Use System.XML dotNet variables running at Role Tailored Client side (Property RunOnClient = Yes)
  3. Use MSXMLDOM automation (as it was in the previous blog post) at Client side.

 

 

These postings are provided “AS IS” with no warranties and confer no rights. You assume all risk for your use.

Duilio Tacconi (dtacconi)

Microsoft Dynamics Italy

Microsoft Customer Service and Support (CSS) EMEA

BlogDotNetRSS.txt

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!