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)
parent.gDCRVPath(Teamsite 6.0)
Winston
In TeamSite 6.0 the following formAPI code displays undefined. Works fine in 5.5
var VPath = parent.gDCRVPath;
alert(VPath);
Does anyone have the code for TeamSite 6.0?
Thanks,
Winston
Find more posts tagged with
Comments
Migrateduser
Unfortunately, the FormAPI does not provide a way to get to the DCR VPath. The code you referred to was probably provided to you (probably by someone like me) as a hack to work around this restriction; however, because it works by going behind the FormAPI layer, changes in implementation has rendered it useless.
To work around this restriction, for the time being, you can try this:
//An updated unsupported hack for 6.0
var VPath = parent.datacapture.getDCRVPath();
alert(VPath);
Use this AT YOUR OWN RISK, as this too goes behind the FormAPI layer. In the mean time, I will file a feature request on your behalf.
--Daniel Yu
Sr. MTS
Interwoven, Inc.
Winston
Thanks, that worked. I think several of us on this forum are using parent.gDCRVPath, so a supported feature is a great idea.
Thanks,
Winston