Hello,
To create a document in the documentum 6.5 using DFS, to add the file to the dataobject i used this sentence.
sampleDataObject.getContents().add(new FileContent(testFile.getAbsolutePath(), cont_type));
Everything worked perfect, but now instead of using the path to the file, I have the file content itself coded in base 64(So, it will be a String). The decode operation is not a problem, but i don't know how to create a file having the content instead of the file path.
I have been looking for a function in the API to add the content using the file content instead of the path and havent seen anything.
How could I achieve this?
Thank you.