Skip to content

Commit 6561ec4

Browse files
authored
Merge pull request #187 from johannes-kolbe/patch-1
fix: code sample indentation for `Create Object Dialog`
2 parents 602715b + b8477cf commit 6561ec4

File tree

1 file changed

+27
-33
lines changed

1 file changed

+27
-33
lines changed

docs/06_SAP_Fiori_Elements/enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -70,47 +70,41 @@ The option to create objects using a dialog now appears in the list report appli
7070
>
7171
> ```
7272
> "sap.ui.generic.app": {
73-
> "pages": [{
73+
> "pages": {
74+
> "ListReport|STTA_C_SO_SalesOrder_ND": {
7475
> "entitySet": "C_STTA_SalesOrder_WD_20",
7576
> "component": {
7677
> "name": "sap.suite.ui.generic.template.ListReport",
7778
> "list": true,
7879
> "settings": {
79-
> "quickVariantSelectionX": {
80-
> "showCounts": true,
81-
> "variants": {
82-
> "0":
83-
> {
84-
> "key": "_tab1",
85-
> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#Expensive"
86-
> },
87-
> "1":
88-
> {
89-
> "key": "_tab2",
90-
> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionPresentationVariant#Cheap",
91-
> "tableSettings": {
92-
> "createWithParameterDialog": {
93-
> "fields": {
94-
> "bp_id":
95-
> {
96-
> "path": "bp_id"
97-
> },
98-
> "currency_code":
99-
> {
100-
> "path": "currency_code"
101-
> },
102-
> "op_id":
103-
> {
104-
> "path": "op_id"
105-
> }
106-
> }
107-
> }
108-
> }
109-
> }
80+
> "quickVariantSelectionX": {
81+
> "showCounts": true,
82+
> "variants": {
83+
> "0": {
84+
> "key": "_tab1",
85+
> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#Expensive"
86+
> },
87+
> "1": {
88+
> "key": "_tab2",
89+
> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionPresentationVariant#Cheap",
90+
> "tableSettings": {
91+
> "createWithParameterDialog": {
92+
> "fields": {
93+
> "bp_id": { "path": "bp_id" },
94+
> "currency_code": { "path": "currency_code" },
95+
> "op_id": { "path": "op_id" }
96+
> }
97+
> }
11098
> }
99+
> }
100+
> }
111101
> }
102+
> }
103+
> },
104+
> ...
112105
> }
113-
> },
106+
> }
107+
> }
114108
> ```
115109
116110
If this feature is enabled, you cannot navigate to an object page in create mode. However, you can navigate to the object page in display mode to modify objects.

0 commit comments

Comments
 (0)