界面元数据
概览
- 应用
- 选项卡
- 列表视图
- 自定义按钮
应用
应用.app.yml
可以设置应用的名称、显示名称、应用图标,以及在应用中显示的对象、选项卡清单。
name: 合同
code: contracts
description: 管理合同及收付款。
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
| 属性名 | 属性类型 | 属性含义 |
|---|---|---|
| name | text | 名称 |
| code | text | API 名称 |
| icon_slds | lookup | 图标 |
| visible | boolean | 启用 |
| description | textarea | 描述 |
| tabs | lookup | 选项卡 |
| objects | lookup | 桌面主菜单 |
| mobile_objects | lookup | 手机主菜单 |
| is_creator | boolean | 显示在桌面菜单中 |
| mobile | boolean | 显示在手机菜单中 |
| icon | text | 旧版图标 |
| sort | number | 排序 |
| url | url | 外部链接 |
| is_use_ie | boolean | 使用IE打开(需使用Steedos桌面客户端) |
| is_use_iframe | boolean | 使用iframe打开 |
| is_new_window | boolean | 在新窗口打开 |
| on_click | textarea | 链接脚本 |
| auth_name | text | 验证域名 |
| secret | text | API 密钥 |
| oauth2_enabled | boolean | 启用 OAuth2 |
| oauth2_callback_url | text | 回调 URL |
| oauth2_scopes | select | 范围 |
| oauth2_logout_enabled | boolean | 启用单点注销 |
| oauth2_logout_url | url | 单点注销 URL |
| oauth2_home_url | url | 应用首页 |
| oauth2_logo | image | 应用 Logo |
| oauth2_client_secret | text | 应用密钥 |
| saml_enabled | boolean | 启用 SAML |
| saml_entity_id | text | Entity Id |
| saml_issuer | text | Issuer |
| saml_idp_cert | text | IDP Cert |
| saml_acs_url | url | ACS Url |
| saml_name_id_format | text | 名称 |
| saml_logout_enabled | boolean | 启用单点注销 |
| saml_logout_url | url | 单点注销 URL |
| saml_logout_block | select | 单点注销绑定 |
| is_system | boolean | 系统 |
| from_code_id | text | from_code_id |
选项卡
选项卡.tab.yml
选项卡可以绑定到一个对象,也可以绑定到一个网址或是自定义页面。
name: contract_analysis
desktop: true
icon: dashboard
label: 合同分析
mobile: true
page: contract_analysis
type: page
| 属性名 | 属性类型 | 属性含义 |
|---|---|---|
| label | text | 显示名称 |
| name | text | API 名称 |
| icon | lookup | 图标 |
| parent | lookup | 上级选项卡 |
| type | select | 类型 |
| mobile | boolean | 显示在手机菜单中 |
| desktop | boolean | 显示在桌面菜单中 |
| frame_height | number | 选项卡框架的高度 |
| has_sidebar | boolean | 显示侧边栏面板 |
| object | lookup | 对象 |
| url | url | 外部链接 |
| is_new_window | boolean | 在新窗口打开 |
| page | lookup | 页面 |
| action_overrides | text | 分配给选项卡的操作替代列表 |
| description | textarea | 描述 |
| is_system | boolean | 系统 |