0

Does anyone know how I can pull off creating an xml data file from data in multiple lists using SPServices/Javascript/jQuery? I can certainly bring all the data I need out to a page and load into DOM or whatever if needed. Just not sure if there is a way without having SOM development capability to create the xml file. Either in a doc library, or windows dialog to store on the local machine (client machine)? anything?

Thanks for any and all help as always!

2 Answers 2

2

I think to save the file you would need something like Downloadify

Getting the XML depends if you want it custom formatted etc.

You could just use Javascript to call the lists.asmx yourself

or

Do it as office does it and go FrontPage RPC

If you want custom, then you could build it in the DOM for ease and then export to a string variable, then downloadify it.

1
  • thanks Hugh. the FrontPage RPC is actually the kind of thing I was looking for....just unaware that I could approach it this way. Thanks very much!
    – Justin
    Nov 28, 2012 at 1:49
0

I have seen this topic on the SPServices forums before and underatood that it is possible to create ASCII files from the browser using webservices (although I have not had the need to do it myself). You will need the help of a BASE64 javascript library to do it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.