I
Inquisit1
Hello,
Throughout our initial planning process we have several PMs, internal and
external, that will be opening and potentially modifying the timeline prior
to the actual kick-off day (before the timeline is published).
I plan on having them access the timeline through the Project Server, and
that will ensure only one update is made at a time via the check-in /
check-out process. The catch is that we want to be able to audit all the
updates and changes made to the timeline so if at any point a PM wants to go
back to a previous revision they can.
I am not aware of any built-in way to do this similar to tracking changes in
MS Word, so I've been looking into using a macro that will create local
copies of the timeline anytime a project is checked-out, and will delete it
if no changes are made to the timeline; effectively keeping a local copy of
all 'versions' of the timeline.
My problem with this approach has been on the "FileSaveAs" method. Once the
file is saved as a local copy the server copy is checked back in and the
local file becomes the active project. Not a big deal, I can just close the
local copy and check-out the server copy again.... right? Well, not so
fast.... If the macro tries to check-out the server copy before it has
checked it in on the "FileSaveAs" method it will only open in "ReadOnly"
mode....
So, my question is....How can I check to see that the file is checked-in
before trying to check it back out again?....or prevent it from being
checked-in in the first place?
Thanks for any help!
--Inquisit1
Throughout our initial planning process we have several PMs, internal and
external, that will be opening and potentially modifying the timeline prior
to the actual kick-off day (before the timeline is published).
I plan on having them access the timeline through the Project Server, and
that will ensure only one update is made at a time via the check-in /
check-out process. The catch is that we want to be able to audit all the
updates and changes made to the timeline so if at any point a PM wants to go
back to a previous revision they can.
I am not aware of any built-in way to do this similar to tracking changes in
MS Word, so I've been looking into using a macro that will create local
copies of the timeline anytime a project is checked-out, and will delete it
if no changes are made to the timeline; effectively keeping a local copy of
all 'versions' of the timeline.
My problem with this approach has been on the "FileSaveAs" method. Once the
file is saved as a local copy the server copy is checked back in and the
local file becomes the active project. Not a big deal, I can just close the
local copy and check-out the server copy again.... right? Well, not so
fast.... If the macro tries to check-out the server copy before it has
checked it in on the "FileSaveAs" method it will only open in "ReadOnly"
mode....
So, my question is....How can I check to see that the file is checked-in
before trying to check it back out again?....or prevent it from being
checked-in in the first place?
Thanks for any help!
--Inquisit1