Skip to content

Commit

Permalink
[SMBC] Update file format 2211 (#416)
Browse files Browse the repository at this point in the history
* [SMBC] Update file format 2211

* Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update z_aff_example_smbc.smbc.json

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Huber <[email protected]>
Co-authored-by: Michael Schneider <[email protected]>
Co-authored-by: Lars Hvam <[email protected]>
  • Loading branch information
5 people authored Nov 21, 2022
1 parent 32c71a4 commit 2761d15
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 133 deletions.
18 changes: 17 additions & 1 deletion file-formats/smbc/examples/z_aff_example_smbc.smbc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,25 @@
"serviceVersion": "0001",
"rootEntitySet": "Customer",
"name": "Maintain customer",
"configurationGroup": "/DMO/ADMIN_GROUP",
"skipRootEntity": false
},
"appConfiguration": {
"listReport": {}
"listReport": {
"variantManagement": "none"
},
"objectPages": [
{
"entitySet": "Customer",
"sectionLayout": "tabs"
}
],
"tableSettings": [
{
"entitySet": "Customer",
"tableType": "gridTable",
"enableFullScreen": true
}
]
}
}
160 changes: 88 additions & 72 deletions file-formats/smbc/smbc-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,32 +66,36 @@
},
"serviceName": {
"title": "Service Name",
"description": "The name of the service to be used (as defined in the Service Binding)",
"type": "string",
"maxLength": 40
},
"serviceVersion": {
"title": "Service Version",
"description": "The version of the service to be used (as defined in the Service Binding)",
"description": "The major version number of the service to be used (as defined in the Service Binding)",
"type": "string",
"maxLength": 4,
"pattern": "^[0-9]+$"
},
"rootEntitySet": {
"title": "Root Entity Set",
"description": "The name of an entity set as exposed by the Service Definition. This entity set is used as the root node for the UI. Only for this root entity set and its associations a UI is shown.",
"description": "Root Entity Set exposed by the Service Definition",
"type": "string",
"maxLength": 30
},
"name": {
"title": "Name",
"description": "Name of the Business Configuration shown in the Maintain Business Configurations app. Can be translated with the Maintain Translations app",
"description": "Name of the Business Configuration",
"type": "string",
"maxLength": 50
},
"configurationGroup": {
"title": "Configuration Group",
"type": "string",
"maxLength": 30
},
"skipRootEntity": {
"title": "Skip Root Entity List Report",
"description": "If true, the UI automatically navigates to the Object Page of the root entity skipping the List Report. Exactly one root entity must exist",
"description": "If true, the UI automatically navigates to the Object Page of the root entity",
"type": "boolean"
}
},
Expand All @@ -106,7 +110,6 @@
},
"appConfiguration": {
"title": "Confguration of List Report and Object Pages",
"description": "The Object Page of the Root Entity cannot be configured. It is sufficient to maintain only those attributes that should deviate from the standard behavior.",
"type": "object",
"properties": {
"listReport": {
Expand Down Expand Up @@ -134,42 +137,18 @@
],
"default": "enabled"
},
"tableType": {
"title": "Table Type",
"variantManagement": {
"title": "Variant Management",
"type": "string",
"enum": [
"responsiveTable",
"gridTable"
"page",
"none"
],
"enumTitles": [
"Responsive Table",
"Grid Table"
"Page",
"None"
],
"enumDescriptions": [
"",
""
],
"default": "responsiveTable"
},
"condensedTableLayout": {
"title": "Condensed Table Layout",
"description": "If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'.",
"type": "boolean"
},
"hideFilter": {
"title": "Hide Filter",
"description": "If true, the user cannot filter data of the table",
"type": "boolean"
},
"hideSort": {
"title": "Hide Sort",
"description": "If true, the user cannot sort the table",
"type": "boolean"
},
"hideColumn": {
"title": "Hide Column",
"description": "If true, the user cannot add and remove columns to the table",
"type": "boolean"
"default": "page"
}
},
"additionalProperties": false
Expand All @@ -179,33 +158,60 @@
"type": "array",
"uniqueItems": true,
"items": {
"title": "Object Page Configuration",
"title": "Object Page Settings",
"type": "object",
"properties": {
"entity": {
"title": "Entity",
"description": "Entity Name of the Object Page",
"entitySet": {
"title": "Entity Set",
"type": "string"
},
"sectionLayout": {
"title": "Section Layout",
"description": "Toggle between onepage concept and tabs.",
"type": "string",
"enum": [
"page",
"tabs"
],
"enumTitles": [
"Page",
"Tabs"
],
"default": "page"
},
"variantManagement": {
"title": "Variant Management",
"type": "string",
"enum": [
"control",
"none"
],
"enumTitles": [
"Control",
"None"
],
"default": "none"
},
"editableHeaderContent": {
"title": "Editable Header Content",
"description": "If true, the header content is changeable in edit mode",
"type": "boolean"
},
"condensedTableLayout": {
"title": "Condensed Table Layout",
"description": "If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'.",
"type": "boolean"
},
"disablePaste": {
"title": "Disable Paste",
"description": "If true, disable the possibility to add several items by copying and pasting data from an excel file",
"type": "boolean"
},
"enableFullScreen": {
"title": "Enable Full Screen",
"description": "If true, a button on the table toolbar allows the user to open the table in fullscreen dialog",
"type": "boolean"
}
},
"additionalProperties": false
}
},
"tableSettings": {
"title": "Table Settings",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Table Settings",
"type": "object",
"properties": {
"entitySet": {
"title": "Entity Set",
"type": "string"
},
"tableType": {
"title": "Table Type",
Expand All @@ -218,29 +224,24 @@
"Responsive Table",
"Grid Table"
],
"enumDescriptions": [
"",
""
],
"default": "responsiveTable"
},
"sectionLayout": {
"title": "Section Layout",
"description": "Toggle between onepage concept and tabs.",
"selectionMode": {
"title": "Selection Mode",
"type": "string",
"enum": [
"page",
"tabs"
"auto",
"multi",
"single",
"none"
],
"enumTitles": [
"Page",
"Tabs"
"Automatic",
"Select Multiple Entries",
"Select Single Entry",
"None"
],
"enumDescriptions": [
"",
""
],
"default": "page"
"default": "auto"
},
"creationModeName": {
"title": "Table Creation Mode",
Expand Down Expand Up @@ -281,6 +282,21 @@
"title": "Hide Column",
"description": "If true, the user cannot add and remove columns to the table",
"type": "boolean"
},
"condensedTableLayout": {
"title": "Condensed Table Layout",
"description": "If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'.",
"type": "boolean"
},
"disablePaste": {
"title": "Disable Paste",
"description": "If true, disable the possibility to add several items by copying and pasting data from an excel file",
"type": "boolean"
},
"enableFullScreen": {
"title": "Enable Full Screen",
"description": "If true, a button on the table toolbar allows the user to open the table in fullscreen dialog",
"type": "boolean"
}
},
"additionalProperties": false
Expand Down
Loading

0 comments on commit 2761d15

Please sign in to comment.