Hi all;
I would like to use word mail-merge fields in one of our projects. I saw the SBO code in developer network to use mail merge fields in Documentum.
But in that example you can run SBO code on the document which is already put into repository. Because that code checks-out / saves / checks-in the content file, it is not suitable for my purpose.
Using this scenario:
1) User selects "New Document",
2) Selects a specific type and fills the meta-data about doctype
3) Selects a template for his/her file.
4) Presses Finish
After this point webtop copies the template file to users PC via UCF and opens it for editing.
What I'm planning to do is, before UCF copy the template file, I'll modify the template file within the repository (I'll fill in the merge fields with metadata values), so user will fetch the modified file.
By doing this; user won't have to enter the data twice, and he/she will see the effects of entering data immidiately.
Can I do this by using a TBO or WDK customization is required?
If TBO is enough; which function is the right to place such a code? (doSave, doLink, doSaveAsNew, etc.)
I am aware that 2 users would try to create the same type of document at the same time. I think I can use sychronized functions in TBO to avoid this problem.