I am trying to use the CopyIntoItems method. I don't have a source URL. But I have an XML string (reasonably big), which I want to write into an XML file and upload to a Share Point Library. There are 2 issues, that I am facing.
1. I am not sure, what value to be passed to the Stream switch. MSDN documentation is showing Byte Array. But in some example, I saw stream being passed. I didn't get any proper way to convert an XML string to a stream. But somehow, I managed to find a jQuery plugin to do this. I am not sure how / what to pass to this switch. Please help. I need to convert a big XML string to a stream.
2. After I sent the stream, I was getting a success response, but saw the error "Value does not fall within the expected range". Not sure, what is the issue and how to get around this. Please help.
Comments: Closed in favor of the Discussion thread: https://spservices.codeplex.com/discussions/456916#post1092779
1. I am not sure, what value to be passed to the Stream switch. MSDN documentation is showing Byte Array. But in some example, I saw stream being passed. I didn't get any proper way to convert an XML string to a stream. But somehow, I managed to find a jQuery plugin to do this. I am not sure how / what to pass to this switch. Please help. I need to convert a big XML string to a stream.
2. After I sent the stream, I was getting a success response, but saw the error "Value does not fall within the expected range". Not sure, what is the issue and how to get around this. Please help.
Comments: Closed in favor of the Discussion thread: https://spservices.codeplex.com/discussions/456916#post1092779