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)
OpenCmd - which document version?
Rooose
Hi There All,
When using the openCmd on a document version which is not the latest, therefore a question appears stating:
"The document ..... is not the latest version. Do you want to open the latest version?"
which is all well and good, however if "yes" is chosen to open the latest version, how can either:
1) find out that "yes" has been chosen, or
2) get the document moniker/object from the returned contextItems - so that i know exactly which version has been opened.
many thanks,
RW
Find more posts tagged with
Comments
jny
How are you using the OpenCmd object? Do you mean that you're invoking your own instance of it or something else?
Rooose
Hi jny,
I'm calling my own instance of the OpenCmd
thanks
jny
In 8.2SP1, the ContextItems Collection for the OpenCmd returns the IManExt.OpenCmd.NewVersion ContextItem when the latest version is opened. If it's the opened version isn't the latest, then this context item is absent from the ContextItems Collection.
jny
In 8.2SP1, the ContextItems Collection for the OpenCmd returns the IManExt.OpenCmd.NewVersion ContextItem when the latest version is opened. If the opened version isn't the latest, then this context item is absent from the ContextItems Collection.