App Library Reference

This reference explains the various namespaces available in the Tradeshift App Library. In order to use any of the namespaces or methods described here, you must declare the associated library in your manifest's capabilities block. For example, if you want to pop up an alert using code like this:

lib.ts.system.alert ( "This is my alert" );

- then you must also declare the capability in the manifest component section:

"capabilities": { 
    "system": { 
        "alert": true // some methods require additional configuration
    }
}