This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Handle for the Innovator object for an open form?

RonCK - Monday, February 1, 2010 1:24 PM:

I'm trying to edit a form OnLoad method to do some form reconfiguration based on whether the user is part of a group identity.  Looking at the API, I saw "innovator.getUserID()", which looks like it may return something that I can use to determine whether to make changes or not.  This method fails when included in my code as is.  I assume this is because the innovator is not the correct name for the active object.  Is there a way to grab that handle?

 

thanks,

RonCK



RonCK - Tuesday, February 2, 2010 9:12 AM:

I found it in case anyone else was missing it.

In Javascript use:

innovator = document.thisItem.getInnovator();

Then the innovator methods can be called using innovator.

Best regards,

RonCK