Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Custom Columns Type

 

Adds custom columns to tables in JSA.

You can add columns in various locations in JSA. Different apps can add a column to the same table. However, each app can add one column only for each table.

The following table describes the custom_columns block fields in the manifest.json file.

Table 1: Custom_columns Block Fields

Field

Required

Type

Description

label

Yes

String

The name of the column. This string can also be a resource bundle key for globalization purposes.

rest_endpoint

Yes

String

Identifies the REST API endpoint that JSA invokes to retrieve the custom content for the column. An app's custom fragment REST endpoint must return a JSON response body.

page_id

Yes

String

The ID of the page that contains the table where the column is to be added.

The following code sample shows how to configure the custom_columns block in the manifest file.

{ ... "custom_columns": [ { "label": "labelfrommanifest", "rest_endpoint": "test_method", "page_id": "AssetList" } ], ... }