Tag Info

New answers tagged

1

You can get the document link using following line: var url = _spPageContextInfo.webAbsoluteUrl + oListItem.get_item('FileRef');


0

Please look at the EncodedAbsUrl, FileDirRef, and FileRef properties. The one you use depends on your needs but I suspect you'll want EncodedAbsUrl or FileRef. Here is an example of what each returns: EncodedAbsUrl: http://yourserver.com/Pages/home.aspx FileDirRef: /Pages FileRef: /Pages/home.aspx var ctx = new SP.ClientContext(siteUrl); var items = ...


1

That's more a case of LMGTFY - Here's a complete tutorial plus a .wsp to add this function. To get some basic understanding Since you can't download multiple files in one response, you need to package them in a .zip for example. What you have to do is getting the byte[] foreach file and package them together. Then add created .zip to the response to invoke ...



Top 50 recent answers are included