AnsweredAssumed Answered

How to upload files with same name into single folder?

Question asked by divyabharathipalivela on Jun 17, 2014
Latest reply on Jun 23, 2014 by bharathi
Hi Team,

I am new to alfresco. I did folder creation and file upload into that folder using alfresco cmis. Now I have a question that, If i have same file name with two documents . I need to upload 2 files to same folder. How it is possible? I heard about versioning concept ? How to call that one? After upload or before upload ? Please do the needul.

I tried like :

        protected void ConnectingUsingAtomPub_CreateDocument(IFolder newFolder)
        {
         IDocument doc=newFolder.CreateDocument(properties, contentStream, null);
         ConnectingUsingAtomPub_CreateDocument_Version(doc);
        }
          private void ConnectingUsingAtomPub_CreateDocument_Version(IDocument document)
        {
        }
Please suggest me the steps how to face that situation.

Thanks,
Divya Palivela

Outcomes