Developing callout extension scripts from templates

You can develop callout extension scripts using code templates as a starting point. The code templates provide an outline of the callout implementation and import any required classes.

  1. Select Maintenance > System Administration > Scriptable Customizations > Extension Script.
  2. Click New.
  3. Specify this information:
    Script Name
    Specify a name for the callout extension script.
    Description
    Specify a description for the callout extension script.
    Script Type
    Select the script type that corresponds with the callout.
    Time Limit (seconds)
    The maximum time the script is permitted to execute. If the script executes for longer, then the script terminates and an exception is thrown with a message that explains the reason for termination. The default is 120 seconds.
    Memory Limit (kilobytes)
    The maximum amount of memory allocated to the script during execution. The default is 100 kilobytes.
  4. Select the template from the Template drop-down and click Load.
    The Script field is populated with the code template.
  5. Develop the callout code in the Script field according to your requirements and click Save when completed.
After the callout extension script is saved, you can implement it by selecting it in the Extension Script Callouts maintenance form.