Skip to main content


 

Symptoms


SMO to get SP 2010 document libraries
 

Diagnoses


_1 Is there an out of the box smartobject which will get list of all document libraries on a specific Sharepoint site.

_2 Is there a smartobject that would return folders inside a document library?

 

Resolution

_1 Use SharePoint Management service broker > List smartobject (Get Lists method) and filter it on the URL.

_2 Use SharePoint Content service broker > use the Get folders method of a document library.
 




 

I have a similar issue using 

 

http://somesite.sharepoint2013.com/Lists/phonebook/AllItems.aspx

http://somesite.sharepoint2013.com/_api/web/lists/GetByTitle('PhoneBook')

http://somesite.sharepoint2013.com/_api/web/lists/GetByTitle('PhoneBook')/items

 

Try to use the Sharepoint 2013 broker but return similar issue with OAUTH.

 

Since the K2 Account is running within the AD Domain and the Sharepoint Site let Authenticated users to retrieve the data, I can open a browser and return the XML Information, but for the service account really want to setup OAUTH.

 

I wonder if somebody have some pointers/references/recommendations on how to achieve this without actually perform a Sharepoint Integration.


THX Dino.


Reply