Tag Info

New answers tagged


I know this is an old thread, but after spending a good while looking about I found an OOTB SharePoint Designer 2010 solution for this problem. To move a document to a different folder create an SPD2010 workflow and use the Update Item action to change the path and name of the document. After inserting the update list item action click on the "this list" ...


Microsoft.sharepoint.client.folder does not have property for "BreakRoleInheritance" You can use as below to break permission inheritance $RootFolder.ListItemAllFields.BreakRoleInheritance($true,$false) Hope it will help to you.


Adding to jkandiko's answer (which worked for me), If the URL of the page containing your document list web part is http://www.mySharePoint.com/SitePages/Home.aspx, append the text ?RootFolder=((Path to target folder)) to this URL. The ?RootFolder=((...)) can be found by navigating to the target folder in the document library, then checking the ...


You can also try 3-rd party tool from Virto - SharePoint Copy Move. It will allow you to move one or multiple files from one directory to another and even within site collections and save your versions history. Hope it will help!


You have to expand folder with $expand=Folder property and use ItemCount property of the folder like this: /_api/web/lists/getbytitle('your_list')/?items$select=ID,Title,Folder/ItemCount&$expand=Folder/ItemCount&$filter=FSObjType eq 1


Ah I think I found it. I was using the wrong end point. According to this way down the page in the folder collection resource section. http://<site url>/_api/web/getfolderbyserverrelativeurl('/<folder name>')/folders That does return all the "folders" (and the DocSets are folders). And they all have an ItemCount property. But now I can't seem ...


I don't think that is available as a Property in 2013 REST end point. URL you posted is related to 2010 REST EndPoint ListData.svc. Also SPServices uses Web Service interface and not REST interface. I would recommend you get the item count OnSuccess method url: webURL + "/_api/web/lists/getbytitle('" + listName + ...

Top 50 recent answers are included