Send To - Build XML-Data manually

mkb
Member Posts: 7
Hello!
I'm trying to call Codeunit 403, Function "LaunchApp" manually to send the data of several Forms/Pages to Excel-/Word for further processing.
What I (think I) understood so far, is that I need to create the XML-data myself (somehow) and pass it to the function.
Is that correct? And if yes, could someone be so nice to point me into the right direction?
(The posts I found on this topic so far have been rather .... short)
Cheers,
mkb
I'm trying to call Codeunit 403, Function "LaunchApp" manually to send the data of several Forms/Pages to Excel-/Word for further processing.
What I (think I) understood so far, is that I need to create the XML-data myself (somehow) and pass it to the function.
Is that correct? And if yes, could someone be so nice to point me into the right direction?

(The posts I found on this topic so far have been rather .... short)
Cheers,
mkb
0
Answers
-
No, you are not building the xml data yourself. You are using the stylesheets to transform XML data which are automatically generated from the form. In the codeunits you can only add some new elements which were not on the form (like companyname etc.). Rest is done through the stylesheets.0
-
Hello and thanks for the answer.
Rereading my post I see that it is a bit ambiguous. What I tried to achive was to create a Word/Excel on the push of a button, save it to a file and add it to an E-Mail (which means I can't use the default Send-To - functionality offered by the client). I thought I had to recreate the Source-XML-File all by myself, but lucky for me most of the work is done by the Stylesheet-Tool.
Took me a few tries, but everything works fine so far. Now I'm struggling with some details of the stylesheet-tool, but thats a different topic.
Cheers,
mkb0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions