Form ordering does not insert field in indexer
Master Data
•
ID:
Backlog
Published on3/19/2018
•
Last updated on12/22/2022
1 min read
Summary
This scenario happens when you configure a field in the Master Data form that is not in the indexer as a filter or as an ordering pattern. By performing this action and accessing the form listing, an error is displayed on the screen, and the data is not loaded, becoming unavailable to the UI.
Simulation
- Edit the form.
- Select a field that is not as "searchable" or as "filter" in the entity as "default sort" or as "filter" in the form.
- Save the form.
- Access the listing.
Workaround
To fix this behavior, edit the data entity and mark the field as "searchable" or "filter", for use as "default sorting" and "filter", respectively.
- Click on the gear symbol in the application where the form you want to edit is;
- Click "Data Structure";
- Edit the data entity;
- Click the gear symbol in the field you want to configure;
- Select the "searchable" option for the sorting order or the "filter" option for the filter configuration;
- Save the entity;
- Publish the entity.
Attention! There are types of fields that do not allow indexing, such as "text", for example. These fields should never be set as default sorting or as filter on the form.