Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Incident 488467 / 2020 Fiori Elements app stucked when inserting item…
… lines

By default when you create a table in the ObjectPage, it is by default configure with createmode = NewPage.

As such when you click on create the applicaton tries to navigate to a dedicated "Products(...)" page

You have two options. :
- Add a dedicated product page and configure the navigation accordingly so that when you click on create you get navigated to the right page
- Change the tableSettings for this table so that it is defined as creationMode = "Inline"

To do the latter, in the manifest for the Systems objectPage add the following

"settings": {
"controlConfiguration": {
"products/@com.sap.vocabularies.UI.v1.LineItem": {
         "tableSettings": {
          "creationMode": {
           "name": "Inline"
          }
         }
        },
}
}
  • Loading branch information
sbarzaghialteaup committed Jul 28, 2020
1 parent 0c38c8d commit ff328c6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/systems/webapp/manifest.json
Expand Up @@ -84,7 +84,16 @@
"name": "sap.fe.templates.ObjectPage",
"options": {
"settings": {
"entitySet": "Systems"
"entitySet": "Systems",
"controlConfiguration": {
"products/@com.sap.vocabularies.UI.v1.LineItem": {
"tableSettings": {
"creationMode": {
"name": "Inline"
}
}
}
}
}
}
}
Expand Down

0 comments on commit ff328c6

Please sign in to comment.