TeamSite 6.7.1
Windows 2003
After a DCR is saved I want to go into the DCR and change a value based on the auto generated filename for the DCR.
I believe I can fix this problem using the onSaveNameSpecified, but want to post this info anyways as it cause Many problems.
Is it possible that the onSaveDone event is getting called before the DCR is actually done saving?
My onSaveValid event does a sever callout to a cgi script that reads the values in the DCR and changes 2 under certain circumstances. This works about 9 out of 10 times. The other time the DCR seems to get overwritten after my server callout is done.
I believe that sometimes my code runs so fast that TeamSite is finishing saving the original value back to the DCR after the server callout is done.
My other evidence for this is from this post:
http://devnet.interwoven.com/forums_vb/showthread.php?t=15006&forumid=13The user in the above post claims that onSaveDone they would change values in the DCR using FormAPI and 9 out of 10 times these changes would be included in the save.
Can you use FormAPI to change values in a DCR in the onSaveDone event and expect them to be included in the save? Isn't it too late then unless you specifically tell FormAPI to resave the doc after the changes?
Has anyone else had experiences with this? Am I completely off base here?
Griff