You need to sign in to do that
Don't have an account?
Hemanth.ax1701
****URGENT**** Writing XML to a file
Hi,
I have a created a XML String using XMLStreamWriter.
XmlStreamWriter w = new XmlStreamWriter();
I am able display this String using <apex:OutputText> and that looks fine and well structured. My requirement is to write this XML String to a file and save it in SFDC, so that user can quickly download as XML. Please guide me how do I achieve it. Please treat this as very urgent.
--
Hemanth
Something like ...
where XXX need to be changed from file to file (otherwise will throw a duplicate exception)
Regards
Thanks a lot guys. Its working .
Would be so helpful, if you suggest me to get the URL for download..more like a file download pop-up.
--
Hemanth
This procedure displays the XML file in a separate window in the browser itself but the point is I want to display a pop up asking me to save the file just like a normal download window.
Is this possible may be using JavaScript?
Kindly suggest.
--
Thanks
Hemanth