XI (doc): IntraWeb XI API Changes

XI (doc): IntraWeb XI API Changes

We are going to great lengths to keep IntraWeb XI as compatible with IntraWeb 10 as possible. We have made a few changes. However for most changes we have put in place stream convertors to upgrade automatically. Our goal is that most projects can be converted to IntraWeb XI in just a few minutes.

Living Blog Post

This is a living blog post and will be continually updated as we make changes to the API of IntraWeb XI.

Forms

Our goal (also see Intraweb XI goals) is that all forms will remain interface compatible, or will be auto upgraded. That is, no changes should be required to your DFM files. Some properties have been converted to write only, allowing existing DFM files to be read. You do not need to load and save your forms to upgrade. They are auto upgrading.

Existing changes are:

  • UpdateMode property – This property is no longer needed as umPartial has been eliminated. Use AJAX instead. To preserve API compatibility, the property has been converted to write only. Any umPartial forms will be converted to umAll.
  • BrowserSecurityCheck property – Deprecated. To preserve DFM compatibility, a vestigal write only property has been retained.

Server Controller

Changes have been made to the Server Controller. However only one Server Controller exists per application, so we considered that it would be acceptable to force one design time load before compilation. To convert to IntraWeb XI, open the Server Controller at design time, and ignore all the property errors that occur. Then perform a save.

Existing changes are:

  • Removed UnknownBrowserAction property – It controlled if older browsers were treated as 3.2 clients or not. 3.2 is no longer supported, so such clients are simply rejected now.
  • Removed SessionTrackingMethod property – Cookies are required for the default tracking method. For developers requiring a single user to be able to host multi sessions in seperate tabs or windows, an alternate method will be provided before the release of IntraWeb XI.
  • Removed StartCmd property – All commands will be moved into a separate path to isolate them from interfering with the new page and URL options.
  • Removed ExecCmd property – See StartCmd notes.
  • Removed SupportedBrowsers property – New functionality will be created allowing control by user code.
  • Removed AllowSubFolders property – This property was of little use, and allowing the option of false will conflict with the upcoming integrated pagemode feature.
  • Removed InvalidCommandURL property
  • Removed OnInvalidCommand event
  • Removed NoCookieSupport property
  • Removed NoJavaScriptSupport property
  • Removed SpecialDevicesSupport property
  • Removed DeviceNotSupported property
  • Removed UnknownBrowser property
  • Removed OnReEntry event
  • Removed ReEntryOptions property
  • Removed ShowResyncWarning property
  • Removed SessionTimeoutURL property – Use new TimeoutResponse property and a URL Responder instead.
  • Removed OnFileAccess event – Will be replaced with Auther functionality.
  • Removed ThreadPoolSize property – No code references could be found that used this property. Appears to have been vestigal from an older version of IIS.

Unit Name Changes

Three internal units have been renamed. SWStrings, SWSystem, and SWService. They are not IWStrings, IWSystem, and IWServer. These units are internal and rarely used by users, so the impact should be minimal.

Code Changes

We have minimized the changes required to source code.

Project Type

A new project type has been added which allows service and non service applications to exist in one project type. The older project types still exist for compatibility.