Skip to main content

Adding custom attributes

Introduction

When your dataset contains attributes that are not present in your app by default, you may want to add these additional attributes.

You can use these attributes inside the attribute selectors of your app or discovery accelerator, or you can add them to the list of available End-user filters.

Getting the new attributes into the app

Follow these steps to add custom attributes to your app.

StepAction
1Open the app in your development environment with the dataset that contains the new attributes.
2Go to the Data tab.
3Double-click on the table for which you want to add the new attributes.
4Add the custom attributes to the select statement in the Query field and click on OK. See the illustration below for an example.
5In the Data tab, right-click on the table and select Reload to reload the data.

docs image

To use the new attributes in the app you can change the display name of the attribute.

These new attributes can now be used in multiple ways inside the app. For example, you can add them to the attribute selectors to slice your data based on them, or you can use the attributes for filtering if you add them to the End-user filters.

note

Make sure to set the availability of the attributes you want to use in your app to Public.

To change the availability of a table item, right click on it and select Availability from the context menu. See illustration below.

docs image

Next steps

StepDetails
Adding attributes to an attribute selectorAttribute Selectors
Adding attributes to the End-user filtersEnd-user Filters