How to download XML?
I have a C bsfn that will read a binary object from the database and right now I output the result as an XML string to a MOTEXT field. The problem is this field has only 30000 characters and a lot of times, the xml string is very long so it got cut off.
Here are my alternatives
- Use a different JDE field that is big enough to contain very long XML string. Maybe I can scroll up and down and that's fine as long as it can contain the whole XML string.
- After the C bsfn streams the XML string, I can output it as a download so when people click on a link, they can download the whole xml file. I DON'T KNOW HOW TO DO THIS