Skip to Content
0
Apr 29, 2021 at 09:10 AM

Fiori Element object page edit extension(section) issue

542 Views

Dear colleague,

We have created an Object Page using FIORI Elements.

The first section "basic_information" is generated by UI annotation, and the second section is from object view extension in manifest.json

"sap.ui.viewExtensions": {
          "sap.suite.ui.generic.template.ObjectPage.view.Details": {
            "AfterFacet|Coacch|basicInfoFacet": {
              "className": "sap.ui.core.mvc.View",
              "viewName": "costaccount.extension.view.AccountList",
              "type": "XML",
              "id": "accountList",
              "sap.ui.generic.app": {
                "title": "Cost Account"
              }
            }
          }
        }

The reason we created this extension is because the table is dynamic generated based on several database data. The problem here is that when we click on the standard Edit button, the table is still in display mode(this is absolutely reasonable).

The question is that is there a way for us to add our own logic when click on the standard edit and save button(so that we don't need second edit button on the page).

Attachments

object-page1.png (62.7 kB)
oj56y.png (51.8 kB)