windows store apps - accessing files and folders other than sharepoint site's default shared documents using office365 api -
working on windows store apps: trying access files , folders of office365 documents library. can access 1 drive documents described in link common file tasks using office 365 client library
but not provide way access files , folders in other onedrive document library. e.g [https://my-office365-tenant.sharepoint.com/mysite/mydocumentslibrary]
however had tried way , files , folders other onedrive. had not used capability created sharepointclient given below:
var client = new sharepointclient(new uri("https://my-office365-tenant.sharepoint.com/mysite"), async () => await acquiretokenasync(authenticationcontext, "https://my-office365-tenant.sharepoint.com")); ipagedcollection<iitem> items = await client.files.executeasync();
in way files of default "shared documents" document library inside "mysite", want files , folders of documents library "mydocumentslibrary" inside same site "mysite".
can please guide me how or missing something? or there anyother way using office365 api only.
i went through documentation of new api, seems file operation limited 1 drive, doubt can file in document library.
to files in other document library, you're developing windows store apps, can sharepoint mobile object model or rest apis:
Comments
Post a Comment