Hi All,
Am currently experiencing a strange issue, where in user can search for docs and after that it’ll be put in a folder for them to view it. Mty code is as below :
For i = 1 To collection.count
On Error lsERR_NOTES_NOMOVETO_PRIV1STUSE Goto ErrorHandling
If Not doc.HasItem(“$Conflict”) Then
Call doc.PutInFolder( “Search results” ) // Shared folder
Set doc=collection.GetNextDocument(doc)
Else
Set doc=collection.GetNextDocument(doc)
End If
Next
But when I check it, there’s no problem(Also I can see a private folder created in my workstation, which is signed with my name)
But when user searches, the code enters into the “error handling routine”
Kindly help me in understanding why is this error and how a shared folder works(As I can see a new folder created in my work station)
I just went into the help - for knowing if there’s a problem with doc.putinfolder(folder name) and below is the problem which I saw, but i dont understand anything from it. Kindly help
“This method cannot add the first document to a folder that is “Shared, Personal on first use.””