Skip to main content

UI Metadata

Overview

Define ui-related metadata

  • Applications
  • Tabs
  • List Views
  • Page Layouts
  • Custom Buttons

Applications

Application.app.yml
You can set the application's name, display name, application icon, and the objects and tabs displayed within the application.

name: Contract
code: contracts
description: Manage contracts and payments.
icon_slds: contract_line_item
mobile: true
mobile_objects:
- contracts
- finance_invoice
- finance_receive
- finance_receipt
- finance_payment
- contract_types
oauth2_enabled: false
oauth2_logout_enabled: false
objects:
- contracts
- finance_invoice
- finance_receive
- finance_receipt
- finance_payment
- contract_types
saml_enabled: false
saml_logout_enabled: false
sort: 50
tabs:
- contract_analysis
visible: true
Property NameProperty TypeDescription
nametextName
codetextAPI Name
icon_sldslookupIcon
visiblebooleanEnable
descriptiontextareaDescription
tabslookupTabs
objectslookupDesktop Main Menu
mobile_objectslookupMobile Main Menu
is_creatorbooleanDisplay in desktop menu
mobilebooleanDisplay in mobile menu
icontextOld Version Icon
sortnumberSort Order
urlurlExternal Link
is_use_iebooleanOpen with IE (Requires Steedos Desktop Client)
is_use_iframebooleanOpen in iframe
is_new_windowbooleanOpen in New Window
on_clicktextareaLink Script
auth_nametextAuth Domain
secrettextAPI Key
oauth2_enabledbooleanEnable OAuth2
oauth2_callback_urltextCallback URL
oauth2_scopesselectScopes
oauth2_logout_enabledbooleanEnable Single Sign-out
oauth2_logout_urlurlSingle Sign-out URL
oauth2_home_urlurlApp Homepage
oauth2_logoimageApp Logo
oauth2_client_secrettextApp Secret
saml_enabledbooleanEnable SAML
saml_entity_idtextEntity Id
saml_issuertextIssuer
saml_idp_certtextIDP Cert
saml_acs_urlurlACS Url
saml_name_id_formattextName
saml_logout_enabledbooleanEnable Single Sign-out
saml_logout_urlurlSingle Sign-out URL
saml_logout_blockselectSingle Sign-out Binding
is_systembooleanSystem
from_code_idtextfrom_code_id

Tabs

Tab.tab.yml
Tabs can be bound to an object or to a URL or a custom page.

name: contract_analysis
desktop: true
icon: dashboard
label: Contract Analysis
mobile: true
page: contract_analysis
type: page
Property NameProperty TypeDescription
labeltextDisplay Name
nametextAPI Name
iconlookupIcon
parentlookupParent Tab
typeselectType
mobilebooleanDisplay in mobile menu
desktopbooleanDisplay in desktop menu
frame_heightnumberTab Frame Height
has_sidebarbooleanDisplay Sidebar Panel
objectlookupObject
urlurlExternal Link
is_new_windowbooleanOpen in New Window
pagelookupPage
action_overridestextAction Override List Assigned to Tab
descriptiontextareaDescription
is_systembooleanSystem

List Views

Listview.listview.yml
Defines the list display of an object, including: displayed columns, filter conditions, sort rules, default search fields.

name: all
label: All Contracts
columns:
- field: 'no'
width: '150'
wrap: true
- field: name
width: '220'
wrap: true
- field: contract_type
width: '150'
wrap: true
- field: amount
width: '150'
wrap: true
- field: signed_date
width: '150'
wrap: false
- field: owner
width: '150'
wrap: false
- field: created
width: '150'
wrap: false
filter_fields:
- contract_type
- signed_date
- othercompany
- instance_state
- owner
filter_scope: space
filters:
- is_default: true
field: instance_state
operation: <>
value:
- terminated
is_required: false
shared: true
show_count: false
sort:
- field_name: 'no'
order: desc
Property NameProperty TypeDescription
labeltextDisplay Name
nametextAPI Name
object_namemaster_detailObject
filter_scopelookupFilter Scope
sharedbooleanShare View to Workspace
show_countbooleanDisplay Entry Count
typeselectView Type
scrolling_modeselectScrollbar Style
columnsgridDisplayed Columns
columns.$objectDisplayed Column
columns.$.fieldlookupField
columns.$.widthtextWidth
filter_fieldslookupDefault Filter Fields
sortgridDefault Sort Rules
sort.$objectOrder
sort.$.field_namelookupSort Field
sort.$.orderselectSort Order
filtersgridFilters
filters.$objectFilter
filters.$.fieldlookupField
filters.$.operationlookupOperator
filters.$.valueValue
filter_logictextFilter Logic
mobile_columnsgridMobile Displayed Columns
mobile_columns.$objectMobile Displayed Column
mobile_columns.$.fieldlookupField
sort_nonumberSort Number

Page Layouts

ObjectName.PageLayout.layout.yml
Defines the record display of an object, including: profile, action buttons, displayed fields, related subtables.

name: customer
buttons:
- button_name: standard_new
- button_name: standard_edit
- button_name: standard_delete
sections:
- section_name: base_info
fields:
- field_name: name
- field_name: address
- field_name: contact
- field_name: telephone
- field_name: email
- section_name: contract_info
fields:
- field_name: contract_no
- field_name: contract_type
- field_name: contract_start_date
- field_name: contract_end_date
Property NameProperty TypeDescription
labeltextDisplay Name
nametextAPI Name
object_namemaster_detailObject
buttonslookupAction Buttons
buttons.$objectButton
buttons.$.button_namelookupButton
sectionsgridLayout Sections
sections.$objectSection
sections.$.section_namelookupSection Name
sections.$.fieldsgridDisplayed Fields
sections.$.fields.$objectDisplayed Field
sections.$.fields.$.field_namelookupField

Custom Buttons

Button.button.yml
Custom button definitions.

name: standard_new
label: New
type: add
order: 10
icon: new_record
visible: true
Property NameProperty TypeDescription
labeltextDisplay Name
nametextAPI Name
typeselectButton Type
ordernumberDisplay Order
iconlookupIcon
visiblebooleanDisplay
actiontextareaButton Action
permission_setlookupPermission
related_listlookupRelated List
descriptiontextareaDescription
grouptextButton Group
is_systembooleanSystem