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)
getWorkArea() Function in the Form API Not workin
System
Teamsite Version 6.1 on Windows Service pack SP2
function init()
{
alert("In the Init Function");
var area = IWDatacapture.getWorkarea();
alert("The Area is " + area);
// callServer("http:\/\/lnao92\/iw-bin\/validateSingleDCR", parameters, true );
// alert("After the Call Server ");
}
IWEventRegistry.addFormHandler("onFormInit", init);
In the above case getWorkarea() is not working. It is just dying.
Find more posts tagged with
Comments
Adam Stoller
I believe that the getWorkarea function was added in 6.5 - not 6.1 - so that would probably explain why it isn't working.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
jbonifaci
Adam is right, getWorkarea is a 6.5 feature, not a 6.1 feature. There are several posts that describe how to get the workarea in 6.1 if you do a little searching.
~Jeff