Newer Version Available

This content describes an older version of this product. View Latest

compileTriggers()

Compile your Apex triggers in Developer Edition or sandbox organizations.

Syntax

1CompileTriggerResult[] = compileTriggers(string[] triggerList);

Usage

Use this call to compile the specified Apex triggers in your Developer Edition or sandbox organization. Production organizations must use compileAndTest().

This call supports the DebuggingHeader and the SessionHeader. For more information about the SOAP headers in the API, see the SOAP API Developer Guide.

Arguments

Name Type Description
scripts string* A request that includes the Apex trigger or triggers and the values for any fields that need to be set for this request.

* Link goes to the SOAP API Developer Guide.