I have an agent that runs under a button in the form when the user click on the button I send the query to the backend agent to copy the document that was open and save it. I have used for example docB = docA to copy the document but this statement somehow removes the actual document that I tried to copy from. The docA is documentcontext. Do you anybody know of a class or workaround that keeep original document untouched but copy it to a new document. I am using designer 7.02. This is a web agent and I can't use uidoc, uiview and workspace.