I’m trying to modify our view of our business terms - currently we have a lot of information showing in the default view that our end users may not care about. What I really want to do is modify the view, so that it only shows Name, Abbreviation, Description and Synonym. I have figured out how to add the columns, but I can’t figure out how to remove unwanted columns. For reference here is the default screen layout in Ataccama One via the Debugging Tools.
{
"_type": "entity.page.listing",
"children": {
"_type": "relationships.hierarchyListing",
"enableSelection": true,
"columns": {
"type": {
"dataPath": a],
"name": "Type",
"after": "name",
"renderer": {
"_type": "glossary.termType.tableCell"
}
}
}
}
}
Page 1 / 1
You have 2 options here: layout changes and fetch rules.
Layout change
Take your example and add more information into columns:
Which with the first pattern disables all the attributes to be loaded, and then with the next patterns enables only some of the existing attributes (name, someAttribute, someAttribute2).
Also note, that badly written fetch rule could make your screen blank without an easy way to restore previous state. At the time of 13.3 the only way to fix this was the direct database update.
In short, try first method.
@Maxim Kim - Thank you! This is fantastic. Lastly, I’m trying to pull in the businessDefinition. However, when I try to add it, I’m getting the following error:
Any ideas how to add this in? Thanks again for all of your help!
I am not 100% sure here, but it looks there are default fetch rules defined that exclude businessDefinition from being loaded into the view. You can enable it in fetch rules, but it will not help to render it in a listview. Business definition has type of rich text and listviews can’t render this type of attributes… yet. I have been told that in 14.1 it is possible though.
Devs told me that richtext fields in a list view should be supported by 14.1 version. And in 14.2 there would be initial support for reference object arrays.