Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IWDCRInfo.getVersion()?
yanSi
Is there a way of getting the version number of the DCR using form api? I was hoping for something as simple as IWDCRInfo.getVersion() but such a function does not exist.
What I want to achieve is to get the version number of the DCR and test to see if it has been submitted to staging.
If (the version number has a plus sign which means modified but not submitted to STAGING) then (do something)
else (the version number has no plus sign which means this version is the same as the one in STAGING) then (do something)
TS 6.5
Windows 2000 Server
Find more posts tagged with
Comments
jbonifaci
Do you really care about the version number or do you only care if it has been modified? RTFM IWDCRInfo.isModifiedInWA().
screenshot.1234456049.jpg
Migrateduser
Are you referring to the version of Teamsite Templating or FormAPI?
In either case, there are two API objects that I think will do it for you:
IWAPI.getTSVersion() and
IWAPI.getVersion()
Dave
Current Environment(s):
(1) TS 6.1 SP2 on W2K3
(2) TS 6.1 SP2 on W2K
(3) TS 6.1 on W2K
yanSi
Thanks guys.
isModifiedInWA() will do just fine.
TS 6.5
Windows 2000 Server