Questions about Content Folders & API Access
I've got a couple of questions regarding Content folders & sharing.
The first question is - I'm currently working on a plan to utilize sharing reports grouped within content folders to specific groups from Client Organizations. In other words:
Top Level Content Folder -> Sub Content Folder (shared with: Group A at Client Org A, Group B at Client Org B)
I'm able to achieve this of course through the UI, however what I'd specifically like to know is if there is a way to do this programmatically? Through web services I'm able to create/edit groups which will help with the report deployment plan I'm working on, however I don't see any APIs for editing the sharing of a content folder. Are there any APIs / ways that I could do this through the admin web services? If such an API was available I'd be able to programmatically create/edit groups, and assign those groups the appropriate content folders. If there is no API available, would this be something easily doable through inserts on the database? I was looking through the various table structure in the YF database but was unable to locate how sharing is set for each content folder / subcategory. Any ideas on that?
The second question I have is -
Is it possible to navigate directly to a specific content folder programmatically? Say for instance we have this content folder structure:
Top Level Folder
- Sub Folder A
- Sub Folder B
- Sub Folder C
Is it possible for me to either
a.) Through the LOGINUSER service, land on the browse page with the specific sub folder opened (Like land on browse Reports with the default location being Sub Folder B)?
b.) Use a redirect to manually set the URL in a way to land on Sub Folder B directly? window.location.href is set to the `MIPreReports.i4` page, however navigating through different content folders doesn't change the href as it seems like you're using a SPA approach to the browse page. Any way to load `MIPreReports.i4` and specify a URL parameter to load to a specific content folder by default?