Order of Processing at Startup - Greg Collins
in

InfoPath Dev

This Blog

Syndication

Greg Collins

Order of Processing at Startup

In InfoPath SP1, the order of processing at startup of a form is:

  1. User Roles
  2. Open Rules
  3. OnLoad event handler
  4. OnSwitchView event handler

The User Roles are processed first so that when the Open Rules are evaluated that they can take into account the current role. The Open Rules can be used to change the default view. Then, after these have processed, the OnLoad event handler will take over. At this point the View object doesn't exist and any functionality requiring it will fail. As a result, you cannot switch views at this point, but can change the default view. Lastly the default view is created and the OnSwitchView event handler is called.

©2004 Greg Collins. All rights reserved. Licensed to Autonomy Systems, LLC for display on InfoPathDev.com.

Comments

 

Links sobre InfoPath « guidesharepoint said:

Pingback from  Links sobre InfoPath « guidesharepoint

May 30, 2014 7:30 PM
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.