Scripting App Builder plugins using C# in Jitterbit App Builder
Developers can create App Builder plugins using C# scripting. C# scripts are compiled with the Roslyn .NET compiler. Each script type defines a set of global members which provide access to objects and services.
Each C# script is associated with a purpose and registered to a Table or Control. Purposes include:
- Table default, validation and action
- Control default and visibility
- REST request and response transformation
Highlights of this feature include:
- Read/write access to row
- Read/write access to raw content of incoming/outgoing REST call
- Access to many C# assemblies and packages that ship with App Builder
- Ships with your application
Note
Scripting Resource Quick Links:
- Scripting classes defined: App Builder SDK
- Plugin example library: Scripting examples
Table plugins
The following Table rules can be scripted:
Control plugins
The following Control (Panel) rules can be scripted:
REST endpoints
Plugins can be registered to REST endpoints for the purpose of transforming either:
To configure a C# plugin in App Builder
- On the server where you wish to use your script, navigate to the IDE > Additional Settings, and under the Advanced Development section choose Plugins
- On the right hand side is the list of existing Plugins, to add a new one click + Plugin
- Name your Plugin and optionally give it a Description to assist users in the future
- Under Purpose, choose from the types listed above
- After saving the right hand panel will appear where you can paste in the C# code for the Plugin. Type or paste in your script, click save, and compile. The Plugin is now ready to register to an Event.