I'm having difficulties to create a document with the proper file extension, it always has the ".tmp" extension. I saw that this can be achieved using the GroupWise DocumentRef object but I can't find a way to link the DocumentRef object with the new Document previously created. Can someone assist me in achieving this task.