Timeline for How do I locate a certain file in SharePoint using C# console app
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 15, 2017 at 14:50 | history | edited | Tiago Duarte | CC BY-SA 3.0 |
added 667 characters in body
|
Sep 15, 2017 at 14:45 | vote | accept | Callam Woolgar | ||
Sep 15, 2017 at 14:37 | comment | added | Tiago Duarte | if I'm not mistaken GetItemById will get any item even if it is inside folders. if you really need to get to the folder, use web.GetFolderByServerRelativeUrl | |
Sep 15, 2017 at 14:16 | comment | added | Callam Woolgar | That works thanks. I can get a certain document using the getById however I need to get into a folder inside of that Documents list. How do I then do that? | |
Sep 15, 2017 at 13:58 | comment | added | Tiago Duarte | you have to input the full url of your website where the list is located. if unsure open a browser console while in the site and type _spPageContextInfo.webAbsoluteUrl | |
Sep 15, 2017 at 13:53 | comment | added | Callam Woolgar | What do I put for the address as I've got the main address company.sharepoint.com but then I only need the /site/project? And then once in that folder it's got a document library but I've tried to get the list for that and inside that list it doesn't have the files that are actually in there? Please help, my brain hurts! | |
Sep 15, 2017 at 13:49 | history | answered | Tiago Duarte | CC BY-SA 3.0 |