While i am trying to put the document collection to the folder using putalllnfolder method,i am getting an lotus notes error

While i am trying to put the document collection to the folder using coll.putalllnfolder ()method it returnd lotus notes error"can’t move document to shared private on first use folder (Private Group 1)"where (Private Group 1) is the folder.

Can any one help me in resolving this lotus notes error.

Subject: RE: While i am trying to put the document collection to the folder using putalllnfolder method,i am getting an lotus notes error

If a folder is private on first use, you have to use it once (that would be your “first use”) before a private copy is created for you. Using it means opening it on-screen.

If you run code to put documents into the folder and it does not yet exist, then what you are asking is not possible.

So you could write code to use the UI functions to open the folder on screen, to make sure it exists, then proceed with putting documents into the folder.

Subject: RE: While i am trying to put the document collection to the folder using putalllnfolder method,i am getting an lotus notes error

Thanks Andre ,it solved my problem

Subject: While i am trying to put the document collection to the folder using putalllnfolder method,i am getting an lotus notes error

It is as it says, you cannot use the PutAllInFolder method to add docs to a private on first use folder, must be a shared folder.