Hello, When I create a new Document and save it from dialog on a cmis repository, I need the media type of the file.
In the back end what happens is, when a new document is created in OpenOffice, it is stored in a temp file on the harddisk. So, when I save it from the save dialog on a cmis repository through my ucp, I receive a "transfer" ucb call. So, When I have to create a new file of CMIS server, I need the mime type of the file. So, the the "getPropertyValues" to file ucp with the property as "MediaType" returns me null. So, any idea how I have to go about this? Because, the file can be saved in different formats from saveas dialog, I assusme the stream encoding for different formats will be different. So, this would cause errors later, if I don't supply the correct mimetype. -- Rajath S, M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science Birla Institute of Technology and Science - Pilani, Pilani