Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to track a SaveAs dcr event in log
enthusiast
Is there a way to track a dcr SaveAs event in the Teamsite system log files?
Also, is there a way to track a file copy event also in the log files?
Find more posts tagged with
Comments
dazzlad
Maybe CreateFSE or ModifyFSE can you describe what you want to do when a DCR is 'saved as' something?
Darren.
enthusiast
We have a DCT that uses a SQL sequence to insert a hidden unique id value. We however noticed that in some cases we found a duplicate of that id in the newly created(copied) dcrs. We just want to know if there is a way to determine if we can track whether or not the dcrs with the duplication were created as new or were copied or savedas from an existing dcr.
dazzlad
which version of TeamSite are you using?
6.5 has a formapi event onSaveNameSpecified (it may have been introduced before 6.5 - not sure).
From the manual:
Event triggered when the
user responds to the
workarea browser to select a
name for this DCR. The
workarea browser is
presented when the current
DCR has no name during a
user-initiated save or if the
user pressed Save As, after
the form has passed save
validation.
You could use this event to clear the id in your hidden field, and then use the onSaveDone event to assign a new ID from your sequence.
This is just one of a few different ways to address your issue.
Darren.
enthusiast
Thanks for that suggestion. We are actually using Teamsite 6.5 but in this case are trying to troubleshoot the occurance of possible saveAs event happend few days ago and try to confirm our theory. Is there a log that acutally contains that info? I have already looked into iwevents.log, iwtrace.log and iwserver.log but none of these has the relevant info for that particuar date and time.
dazzlad
Oh I See.....
I do't think there is anything that information is logged by default. As mentioned you can turn on CreateFSE and ModifyFSE and these will be logged to iwevents.log.
Not sure how to determine whether save as was used though.
Darren.