You can use the streams. Ther are Read and Write functions on the bigtext variable. To get instream from outstream use some temporary blobl field into which you write the data through outstream and read them through instream.
BigText Var makes strange things with the beginning of the XML structure related to the UTF-16 Format, so there is some extra code to solve this issue. The conversion of ANSI2ASCII is probably not neede for you, but it will work with special chars like ö/ä/ü etc...
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
BigText Var makes strange things with the beginning of the XML structure related to the UTF-16 Format, so there is some extra code to solve this issue. The conversion of ANSI2ASCII is probably not neede for you, but it will work with special chars like ö/ä/ü etc...