XML Stylesheets

kuju
Member, Microsoft Employee Posts: 62
Hi,
Is anyone have a suggestion for a good Style Sheet Editor besides Visual Studio?
Is anyone have a suggestion for a good Style Sheet Editor besides Visual Studio?
Dynamics Rules!
0
Comments
-
It seems that we all are waiting for such a tool... :-)0
-
0
-
Ah, ok, released... we can celebrate.... :-) It is so EASY to do that... Now we need that for excel too... 8) \:D/ \:D/ \:D/0
-
Are you being sarcastic or do you like it?0
-
I like it (of course, I have some problems with usage, but I do not know if problem is between keyboard and chair or it is some bug yet...). 8)0
-
I have been going through the training material using Word 2003.
I am getting an error message on the item list (page 13 of the user guide)when I try to create the stylesheet:
The call to member appendChild failed. msxml4.dll returned the following message:
Only one top level element is allowed in an XML document.
Has anyone else tried this yet?
(The error is occuring in codeunit 680 and the debugger shows it knows it is processing Word 2003)David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
I got this error too. But after some time, it worked again. Try to close the NAV and try it again.0
-
Another thing:
You should enlarge the local variable "TempOptionString" in Function "SetReleationShipsFilter" of Codeunit 682. Otherwise it will produce a text overflow in cases of long option strings.--
Josef Snayberk0 -
Exiting and getting back in fixed the problem - thanks - now the only proble is, it did not show the datalink caption in the document header.
I am not very skilled in Word. I did a view Header and Footer and inserted the merge field Datalink - which looks like it should then print the caption I entered in the option tab - is there anything else I need to do in Word?David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
I don´t know if I understand correctly what you are trying to achieve or what you are missing. But if you´re missing your individual caption for the DataLink try to deselect the "Use Sytem generated Caption" field. And, of course, you have to place the DataLink field into the merge document in Word.--
Josef Snayberk0 -
I am trying to insert the data caption into the document header.
It appears the style sheet is ignoring the document header.
If I put the DataLink elsewhere in the document it prints.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
Hmm, no idea. I had no problem with it.
But I found another problem: After a backup and a restore on a new place my style sheet definition are still there, you can´t use it however. You don´t find it in the Stylesheet List after pressing the Send Optinons Button in the symbol bar. After performing "Update Manage Stylesheets" it appears there but you still can´t use it properly because the field values will not be passed to the Word document. Any idea?--
Josef Snayberk0 -
Did you try bringing up the Word doc and making a minor change, then going through save and the folloeing steps?
It sounds like there is some location specific code somewhere.
Are you using Word 2003 or Word 2007?David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
Anyone succeeded in creating the XML document from within AL code?
I digged into codeunit 403 but when it s debugged you enter directly with filled up DATAXML vars in function launchapp.
I can imagine that we want to create documents in batch...?
Offcourse we can build our own dataxml var and then use the codeunit 403.Dynamics Rules!0 -
Has anyone tried to create document in batch? Or does anyone knows how to handle the DataXML-variable in function LaunchApp in cdu 1?0
-
jsnayberk wrote:Hmm, no idea. I had no problem with it.
But I found another problem: After a backup and a restore on a new place my style sheet definition are still there, you can´t use it however. You don´t find it in the Stylesheet List after pressing the Send Optinons Button in the symbol bar. After performing "Update Manage Stylesheets" it appears there but you still can´t use it properly because the field values will not be passed to the Word document. Any idea?
I've this problem as you, but I find out the problem finally, it's because my Regional & Language Options. Seems that the "Convert Mail Merge to Style Sheet" and "Update Manage Style Sheets" function only works when the regional setting is "English"
After I changed the regional seeting, everythings works fine, even below error also solved.
"The call to member appendChild failed. msxml4.dll returned the following message:
Only one top level element is allowed in an XML document. "0
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