The Trailblazer Community in Slack is now in Open Beta—join and connect in real time. [Join us in Slack]
compileTriggers()Compile your Apex triggers in Developer Edition or sandbox organizations.
1CompileTriggerResult[] = compileTriggers(string[] triggerList);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.
| 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. |
See CompileTriggerResult.