Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Getting Browser Organisation folder list

Kevin.Bell
Advisor
Advisor

Getting Browser Organisation folder list

Kevin.Bell
Advisor
Advisor

Hi,

 

I'm creating an addin which shows a set of views and I would like to show them according to the current views Browser Organisation.

 

How can I get a list of the folders which represent the current browser organisation?

 

I know I can obtain the current browser organisation and find it for a specific view with:

 

BrowserOrganization org = BrowserOrganization.GetCurrentBrowserOrganizationForViews(doc);
org.GetFolderItems(myView.Id)

 

But I don't want to get the organisation for a specific view, which the above code does, rather I want to find out the browser organisation folders for all views?

 

Is there any way I can get this?

 

Thanks.

0 Likes
Reply
Accepted solutions (1)
1,002 Views
2 Replies
Replies (2)

aignatovich
Advisor
Advisor
Accepted solution

Hi!

 

Yes, you should collect views, then for each view check if browserOrganization filters are satisfied with BrowserOrganization.AreFiltersSatisfied method, then you can get browser organization folder parameters and get all folders for each view

0 Likes

Kevin.Bell
Advisor
Advisor

Thanks - that is what I did in the end...

 

 

0 Likes