App Studio Resources

Overview

In the Resources area you can configure how your App sends and retrieves data.

Resources area overview

You can create the following types of resource:

You can create multiple resources for your App according to your requirements to send and retrieve data for the various components in your App.

Each Resource has a short Tag name. This tag can be used within components (App Studio Canvas > Select module > Properties panel) to use the data from the matching resource.

Resource Tag Name

Plain Object Resources

Plain objects wrapped in {} are great for storing simple data sets.

NOTE: It is also possible to use arrays [] at the root of a plain object.

Example Plain Object resource example

NOTE: App Studio does not support Templating in plain object resources.

HTTP Resources

If you choose HTTP, you are prompted to configure it through a wizard.

REST Resource example configuration

NOTE: Only HTTPS URLs are allowed.

The available REST methods are: GET, POST, DELETE, PUT, PATCH.

Example Resource REST methods

The available authentication types are: NONE, BASIC, BEARER, U4Ids (Unit4 Identity Services).

Example Resource REST authentication type options.png

If you select BASIC or BEARER authentication types you are prompted to select which Credentials you want to use. For more information on how to save your Credentials in App Studio see App Studio credentials.

ERPx Public API

This allows easy integration with the available ERPx public APIs. Here you define the ERPx endpoint, the method and which version of the API to use (the highest available version is selected as default). The available parameters depend on the endpoint chosen.

ERPx API resource example configuration

The Parameters section contains the available query and path parameters which depend on the endpoint chosen. The parameter fields can be expanded and templating is supported.

The Content definition section is defaulted with the Model schema and is disabled if the method is set to GET or DELETE.