Archive
Posts Tagged ‘CLR’
Converting a System.Xml.XmlDocument to XML type in Dynamics ax
April 18, 2010
1 comment
When interacting with .Net assemblies mostly Xml is used to send/receive outputs from the external system. Here is a code snippet that tells how to convert a System.Xml.XmlDocument to a Xml string in Ax which you can use for further processing by classes like XmlDocument…
//CLR Objects
System.Xml.XmlDocument document;
System.Xml.XmlTextWriter textWriter;
System.IO.StringWriter stringwriter;
//X++ Objects
Xml Xml
;
//call to the .Net assembly that returns a XML
document = processINput(...argument..)
stringWriter = new System.IO.StringWriter();
textWriter = new System.Xml.XmlTextWriter(stringwriter);
document.writeTO(textWriter);
//Converted to Ax Xml format here
xml = stringWriter.ToString();
mail to casperkamal@gmail.com for any query or clarifications on the posts here.
Dynamics Ax News
- Microsoft Lets Partners Deploy Dynamics ERP on Windows Azure - Redmond Channel Partner
- The Power of Personal BI with Dynamics AX 2012: PowerPivot and Power View - MSDynamicsWorld.com
- AlfaPeople Partners With Shift4 to Bring Enhanced Security and Simplified PCI ... - Marketwire (press release)
- Microsoft dynamics ax 2012 – the comprehensive solution for food & beverage ... - Vietnam Investment Review
- Microsoft Dynamics Partner Roundup: eCommerce Integration for NAV, AX; AX ... - MSDynamicsWorld.com
- i95Dev to Launch Integrated eCommerce for Microsoft Dynamics NAV and AX at ... - PR Web (press release)
What i just tweeted
- MazikGlobal Announces Release of MazikAX, a Windows 8 Application for Dynamics AX prweb.com/releases/2013/…-- 1 week ago
- RT @FlintfoxIntl: How Far Can Microsoft Take Dynamics AX in Supply Chain Execution This Year? bit.ly/15D2EAt #MSDYNAX #MSDYNCOMM-- 1 month ago
- 90:10 The single most important thing you can do for your stress: youtu.be/I6402QJp52M via @youtube-- 1 month ago
- 23 and 1/2 hours: What is the single best thing we can do for our health?: youtu.be/aUaInS6HIGo via @youtube-- 1 month ago
- RT @PalleAgermark: Running AX2012 R2 locally on Windows 2012 Server booted directly from VHD flip.it/5dBAj-- 2 months ago
Tags
.Net integration
Add-ons
AIF
alm
ax2012
Ax2012R2
Ax reviews
Best Practices
books
bugs
cable vertical
certification
CLR
Coding
convergence
debugging
demo
design pattern
Dynamics Ax
Editor shortcuts
favorite menu
Forms
Functional
General
innovites
integration
interviews
Introduction
Labels
layers
links
Master planning
Menu items
New features
news
projects
recognition
release
resources
SSRS Reports
technical conference
tips&tricks
videos
warnings
workflow
Archives
Microsoft Ax Blogs
Ax Technical
Top Posts
- Adjusting the No.of decimal property for Quantity field in Dynamics Ax
- Dynamics AX 2012 Enterprise Portal Development Cookbook
- Microsoft Dynamics Ax 2012 Services - Book Review
- Data methods in Ax Reports and SSRS Reports
- Dynamics ax 2012 - Copying Temp Table instance for SQL TempDB
- Line Breaks in Label
- Life Cycle tools - Dynamics ax 2012 R2
Ax blogs stream
- Session Lineup Posted for AXUG Summit 2013 TampaCheck out the session schedule for this year's AXUG Summit, happening Oct 22-25 in Tampa, FL. We're continuing to work out more sessions to add to this already impressive lineup - when it's all said and done, AXUG Summit will offer around 200 breakout sessions in tracks including Advanced AX 2012, AX 2012 Updates, BI, CRM, Executive, Finance, […]
- Uploading Documents from .NetWith all the .Net managed-host user-controls that I’ve created so far, I found the need to upload documents from one of them into the Dynamics-Document-Store. The specific example in question was the Desktop-Publishing control that I used for the invoice printing PoC: [https://community.dynamics.com/ax/b/dynamicsax_wpfandnetinnovations/archive/2013/02/23/cr […]
- Advanced Mapping InterfacesThis is Part 2 where I supplement my “Client-inception” PoC that I developed previously with geocoding functionality. I’m going to create an integrated mapping interface using the WPF control suite that I’ve been using thus far and implement it within Dynamics. It’s going to look something like this: You could very easily develop your own WPF map contr […]
- I'm Heading to Tampa in October - Who's With Me?Join fellow Dynamics AX users and subject matter experts at AXUG Summit 2013, October 22-25, in Tampa, Fla.! Offering a wealth of practical ideas, collaborative learning, in-depth knowledge and unsurpassed networking, AXUG Summit is the event for Dynamics AX users like you. You’ll benefit from: More than 150 interactive breakout sessions, many led by fellow […]
- New! AXUG Summit 2013 Tampa Online CommunityIf you're joining us in Tampa this October 22-25, get a jump start on networking! Your AXUG Summit 2013 experience starts as soon as you register. New this year! We’re thrilled to offer attendees a great new benefit that will kick your AXUG Summit 2013 experience up a notch! When you register for AXUG Summit 2013, you’ll gain access to the all new AXUG […]
- Geocoding AddressesThis is Part 1 of a 2 part article where I supplement the “Client-inception” PoC that I developed in my previous article with geocoding functionality. · Geocoding is the process of finding geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses or ZIP/Postal codes. With geographic coor […]
- X++ Like Operatorwe can use it for strings in MS Dynamics AX like this : static void LikeTest(){ str str; ; str="expiry"; if(str like "exp*") info('"like work ");}
- Microsoft Dynamics AX 2012: Production Order Control Tricks and Tips: MaterialsNOTE: The below describes Dynamics AX 2012 functionality but is mostly valid in 2009 and earlier versions. In Engineer-to-Order companies, it is really not feasible to back-flush all materials, because BOM’s are not all accurate yet, a learning curve on the floor is also typical, so we will have to find out what really has been consumed on the floor and repo […]
- Resource Page for SSRS and SSAS Integration in Microsoft Dynamics AX 2012This page provides a list of published documentation, known issues, solutions, as well as tips and tricks to help you integrate Microsoft Dynamics AX 2012 with SQL Server Reporting Services (SSRS) and SQL Server Analysis Services (SSAS). This page contains the following sections: Getting started Common problems and solutions Featured videos Other BI tools P […]
- Free Webcast - Wednesday May 22nd - Introduction to Microsoft Dynamics AX 2012 PayrollWebcast Date/Time: Wednesday May 22, 2013 at 10am PST Webcast Title: Introduction to Microsoft Dynamics AX 2012 Payroll Webcast Description: Join us for an introduction to Microsoft Dynamics AX 2012 Payroll. We will explore the new features and functionality of this newly released functional area of Microsoft Dynamics AX. We will demonstrate an end to en […]


