Using custom load/save override methods on forms

In cases where you have custom load/save methods that you want to use instead of the standard load/save methods typically used by IDOs, you can specify that a form is to use your custom methods with those IDO collections.

This is fairly common practice especially with IDOs that have been generated using the IDO from ION API Wizard. Such IDOs often use external data sources by way of ION APIs.

Note: As of Mongoose release 2021.05, this procedure is no longer required for IDOs generated using the IDO from ION API Wizard. In these cases, it is required only if you want to get the infobar or create message output from the action.
  1. If necessary, use the IDO Methods form to identify the name of the custom method you want to use in place of a standard method.
  2. In the Web Designer or in Design Mode, open the form that uses your IDO collection.
  3. Select the Collections tab and (if the form uses multiple IDO collections) verify that you have the correct IDO selected.
  4. On the Collections property sheet, select Advanced Options.
  5. Click the ellipses (•••) button for the Load/Save Overrides property.
    This launches the Edit Middleware Load/Update Overrides dialog box.
  6. From the list of standard methods, select the one you want to override with your custom method, and then click Edit.
  7. In the Actions section of the dialog box that opens, click New.
  8. In the Current Action section, from the Type drop-down list, select Named Method.
  9. In the Method field, type the name of your custom method.
  10. Click OK.
    You are returned to the Edit Middleware Load/Update Overrides dialog box, which now displays the custom method you want to use as the override.
  11. Click OK.
    The Collections property sheet now displays your overrides in the Load/Save Overrides property field.
  12. Save the changes to your form, exit the Web Designer/Design Mode, and clear the IDO metadata cache.

Now, when you retrieve the data for the form, the data is retrieved from the data source specified by the custom load method.