How to Hidden the UI Annotation Fields
Author: Wei.Zhu
Friday, July 06, 2018
10:11 AM
Control All Fields ( Selection and Line Item ):
@UI.hidden
Hide the specified UI Field, Include the Selection Field and UI Line Item Field. Not showed on the List report default page.
exclude: true
Hide Selection Field or UI Line Item Field
Example:
@UI.hidden
@EndUserText:{label: ‘Opportunity ID’}
@UI.lineItem : [{position:10, importance: #MEDIUM, label : ‘Opportunity ID’}]
@UI.identification: [ { position: 10, importance: #MEDIUM, label : ‘Opportunity ID’ } ]
@Search:{ defaultSearchElement:true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@UI.selectionField: [ { position: 20 } ]
key object_id,
The above declare statement equal the below declare:
@UI.hidden
key object_id,
Control Selection Field
@EndUserText:{label: ‘Opportunity ID’}
@UI.lineItem : [{position:10, importance: #MEDIUM, label : ‘Opportunity ID’}]
@UI.identification: [ { position: 10, importance: #MEDIUM, label : ‘Opportunity ID’ } ]
@Search:{ defaultSearchElement:true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@UI.selectionField: [ { position: 20, exclude: true } ]
key object_id,
Control Line Item Field
@EndUserText:{label: ‘Opportunity ID’}
@UI.lineItem : [{position:10, importance: #MEDIUM, label : ‘Opportunity ID’ , exclude: true}]
@UI.identification: [ { position: 10, importance: #MEDIUM, label : ‘Opportunity ID’ } ]
@Search:{ defaultSearchElement:true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@UI.selectionField: [ { position: 20 } ]
key object_id,