on 07-14-2020 12:11 AM
Hi,
I have entity A with composition with entity B.
When I try to insert the second record of B the UI get stucked:
To reproduce the problem:
If you press "Create" and press "Back" and press "Create" the problem doesn't appear.
When you press the "Create" button the url changes to ".../products(...)"
Thanks
Sam
Solved with the help of SAP support:
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"
}
}
}
}
}
Look at this commit:
https://github.com/sbarzaghialteaup/cap_test_draft/commit/ff328c6b61b70fc53cc1751786bf9f02d0c33e0c
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.