Do you mean you want the default property 'Owner' from Documentum, because if that's it, I don't see why you can't use owner_name.
Now if it's your own definition of owner (different from Documentum), then yes we've done our own custom attributes, and for each type you want to use in WebTop you can (have to) define how the properties appear: which ones, on the default screen or under 'More Properties', their order, the label, ...
Note that allthough you can define you type in DA, you should use Composer for this kind of configuration detail.
Here is what I want to do:
I have some files in my filesystem (outside Documentum) on my C- drive.
I want to import these files to Documentum repository.
I have a custom type (the files will be imported as this type).
For this type I have a few attributes defined like fs_owner, fs_creation, fs_modified which mean the owner of the file on the filesystem, creation date on the filesystem, modified date on the filesystem. For this type I can see these attributes on the import screen (to answere your suggestion of creating the object-type using DA/Composer)
So when I import these files in the repository, these attributes fs_owner, fs_creation. fs_modified, should be populated with the properties on the document.
I hope this makes my requirement clear.
Thanks,
Surya
I assume you want Microsoft properties to get mapped to DCTM properties.
There is an example of something similar on the developer network. It's an SBO (Service Based Object) that fills in template fields in a word document based on metadata.
http://developer.emc.com/developer/Component_Exchange/downloads/MSWordFiller.zip
You may want to covert this to a TBO based on your needs.
When writing a Java application using DFC to implement the import, the issue is more how to get those Windows specific attributes from the file.
One way could be to use the Runtime exec method to run a dir listing command, as in:
Process anExec = Runtime.getRuntime().exec("cmd /C \"dir /TC /Q\"");
anExec.getOutputStream() ...
On the DIR command, the options /Q give you the owner, /TC creation time, /TA last used, /TW last written to
I did something similar in a previous life, ages ago, and I used a DLL called docview.dll or something like that, however, it was in VB6, not java
I'm sure you can find a lot of bits and pieces of Java code out there on the net to get the File System properties of a file and then you'll need to customize the import component in Webtop to do what you need to do.
Hi Johhy and everybody else,
how can i invoke the SBO component about IWordDocumentFiller and on which event?
Thank you in advance.
SBO is service, so all you need to instantiate the class in your component.
hi,
Is it possible to invoke SBO component in process builder? IWordDocumentFiller get error to retrive methods? I use DFC 6.7
Yes, look at the BOF Module activity.
Hi Jonny,
thank you for your answer, but when I select IWordDocumentFiller dm_module I get error to retrive the methods.
Whats wrong?
Hi,
do you have any solution?