cancel
Showing results for 
Search instead for 
Did you mean: 

Get Folder Hierarchy and list it on a C# Form

pahrens
Champ in-the-making
Champ in-the-making
Hallo,

my problem ist that im not shure how i can get the full Folder Hierarchy from the Alfresco repository via c#?
With java i think its possible to use the Apache Chemistry but how i can solve it in c#?
If i use curl and enter the cmis-url for the Folder Hierarchy… But how can i put this Hierarchy e.g. on a Form in c#?

Sorry for my english…

Thanks!
3 REPLIES 3

fmui
Champ in-the-making
Champ in-the-making
Hi,

If the Web Services binding is an option for you, this could be a starting point:
http://incubator.apache.org/chemistry/opencmis-cookbook.html#OpenCMISCookbook-Connectingfroma.Netcli...

- Florian

pahrens
Champ in-the-making
Champ in-the-making
Hi,

thanks for your answer. I have searched for some examples for Web Service Binding, but i cant find somthing.
What i have to do, to be able to use the OpenCmisClient API in c#?

Thanks!

nikes
Champ on-the-rise
Champ on-the-rise
Use getChildren(….) function of NavigationService.

It returns back all the folders and documents withing the specified folder in getChildren method.

I don't know about C#, but you can implement logic like.

If C# provides something like Tree View for folder navigation, on click of a folder Node make a call to getChildren function by passing the clicked folder ID.

Let me know if you need any more info.

Nikesh