Tag Info

New answers tagged

1

It depends a bit on what your actual requirements are. 2010 workflows do have the capability of extracting substrings, but you have to know the indexes ahead of time. There is no functionality similar to indexOf where you can find the index of a certain character. So in your example, if you know that you will always be taking only the first four ...


0

If you want to get the ID of the item for the corresponding file, you may simply try: $file.Item.ID


0

Not enough Reputation to add a comment, but DacrioS has cracked it. I have an on-premises install of Sharepoint 2013 and could not get attachments to show up when using _api/web REST interface. Until I read this comment: "Try adding Attachments to the select." Let me be clear: This Does Not Work ...


0

The imported files should be visible in your master pages library in SPD. The specific location will be ../%sitename%/_catalogs/masterpage/


0

You can use the next code: $(function() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', CopyFile); }); function CopyFile(){ var oUrl = _spPageContextInfo.webAbsoluteUrl +"/_api/web/getfilebyserverrelativeurl('/Library/acento.txt')/copyto(strnewurl='/Lybrary_2/acento.txt',boverwrite=true)"; $.ajax({ url: ...


0

Answered here. used Microsoft.SharePoint.Client.File.SaveBinaryDirect http://stackoverflow.com/questions/17057074/how-to-download-upload-files-from-to-sharepoint-2013-using-csom


0

You need to pass stream of Bytes or Byte array which you are supposed to save to the file.


2

Based on my research and past experience this could be an approach to download files from a SharePoint Document Library. First you get connected to the SharePoint site, and retrieve using list.GetItemById(ID) function. Once you load item object, you can get the Server Relative Url of the file. And from this Url you can download the document. You can read ...



Top 50 recent answers are included