cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect to existing folder in alfresco cmis using c#?

divyabharathipa
Champ in-the-making
Champ in-the-making
Hi all,

I tried to upload files in alfresco. I am entering the foldername dynamically, So first it will check whether folder name is existed or not. If that is not existed it will create new folder and upload that doc to that folder.I got upto this one.If that folder already exists we need to save that doc in the existing folder.I am unable to do that one? Please help to solve this?

Thanks,
Divya Palivela
2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator

Use
ISession.getObjectByPath
method to get the specified  object by path,then cast it to IFolder object.

Thanks alot Smiley Happy Its working fine