Hi,
I try to export our Items in a xml File and I use for this the XMLDom automation. Unfortunately we have some Attributes which are longer than 1024 signs. I get the error Message:" The length of the text string exceeds the size of the string buffer"
In the Forum I found an solution how I can assign long values to Elements(
viewtopic.php?f=23&t=30549&hilit=xml) . The question is now it's possible to assign a long value to an Attribute which is longer than 1024.
Regards Dominik
Comments
You can use xmlport instead of MSDOM
It's basically a show stopper for me.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Epimatic Corp.
http://www.epimatic.com
Described in
http://blogs.msdn.com/freddyk/archive/2008/11/04/transferring-data-to-from-com-automation-objects-and-webservices.aspx
I think the XMLAttribute value is an object - in which case it actually should work (I haven't tried) to transfer a BigText directly to that.
Note though - that the code will NOT work in the Classic Client - nor on the NAS - so it might not be what you are looking for...
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
the IXMLDOMText interface works also with attributes.
for example:
Epimatic Corp.
http://www.epimatic.com