From b8477cf1d07047639315e117ea579c49f718ece7 Mon Sep 17 00:00:00 2001 From: Johannes Kolbe <106824015+johannes-kolbe@users.noreply.github.com> Date: Thu, 3 Apr 2025 00:40:24 +0200 Subject: [PATCH] fix: code sample indentation for `Create Object Dialog` enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md --- ...g-the-dialog-in-the-list-report-ceb9284.md | 60 +++++++++---------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/docs/06_SAP_Fiori_Elements/enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md b/docs/06_SAP_Fiori_Elements/enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md index 742036af..470f3d37 100644 --- a/docs/06_SAP_Fiori_Elements/enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md +++ b/docs/06_SAP_Fiori_Elements/enabling-object-creation-using-the-dialog-in-the-list-report-ceb9284.md @@ -70,47 +70,41 @@ The option to create objects using a dialog now appears in the list report appli > > ``` > "sap.ui.generic.app": { -> "pages": [{ +> "pages": { +> "ListReport|STTA_C_SO_SalesOrder_ND": { > "entitySet": "C_STTA_SalesOrder_WD_20", > "component": { > "name": "sap.suite.ui.generic.template.ListReport", > "list": true, > "settings": { -> "quickVariantSelectionX": { -> "showCounts": true, -> "variants": { -> "0": -> { -> "key": "_tab1", -> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#Expensive" -> }, -> "1": -> { -> "key": "_tab2", -> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionPresentationVariant#Cheap", -> "tableSettings": { -> "createWithParameterDialog": { -> "fields": { -> "bp_id": -> { -> "path": "bp_id" -> }, -> "currency_code": -> { -> "path": "currency_code" -> }, -> "op_id": -> { -> "path": "op_id" -> } -> } -> } -> } -> } +> "quickVariantSelectionX": { +> "showCounts": true, +> "variants": { +> "0": { +> "key": "_tab1", +> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#Expensive" +> }, +> "1": { +> "key": "_tab2", +> "annotationPath": "com.sap.vocabularies.UI.v1.SelectionPresentationVariant#Cheap", +> "tableSettings": { +> "createWithParameterDialog": { +> "fields": { +> "bp_id": { "path": "bp_id" }, +> "currency_code": { "path": "currency_code" }, +> "op_id": { "path": "op_id" } +> } +> } > } +> } +> } > } +> } +> }, +> ... > } -> }, +> } +> } > ``` 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.