Share via


XMLport Triggers

The following triggers apply to XMLports.

XMLport Triggers

XMLport trigger Executed

OnAfterAssignField Trigger

Executed after a field has been assigned a value and before it is validated and imported.

This trigger is only used to import data.

OnAfterAssignVariable Trigger

Executed after the value defined in the XML document is assigned to the text variable.

This trigger is only used to import data.

OnAfterGetField Trigger

Executed after a field is passed to the XML document.

This trigger is only used to export data.

OnAfterGetRecord (XMLports) Trigger

Executed after a record is retrieved from a table and before it is exported to the XML document.

This trigger is only used to export data.

OnAfterInitRecord Trigger

Executed after a record is loaded.

This trigger is only used to import data.

OnAfterInsertRecord Trigger

Executed after a record has been inserted into a database table.

This trigger is only used to import data.

OnBeforeInsertRecord Trigger

Executed after a record has been loaded and before it is inserted into a database table.

This trigger is only used to import data.

OnBeforePassField Trigger

Executed before a field is passed to the XML document.

This trigger is only used to export data.

OnBeforePassVariable Trigger

Executed after the source expression has been formatted into a text variable and before the text variable is passed to the XML document.

This trigger is only used to export data.

OnInitXMLport Trigger

Executes when the XMLport is loaded and before any table views and filters are set.

OnPreXMLport Trigger

Executed after the table views and filters are set and before the XMLport is run.

OnPostXMLport Trigger

Executes after the XMLport is run.

OnPreXMLItem Trigger

Executed after the table is initialized and before you start exporting data to an XML object. This trigger only applies to XMLport elements that have a source type of Table.

This trigger is only used to export data.

See Also

Tasks

How to: Define or Modify Table or Field Triggers