on 08-11-2020 3:58 PM
Hello Experts,
Is there any way to navigate to List report object page with default edit mode (Internal Navigation)? I am in a non-draft scenario and my SAPUI5 version 1.60.
I checked the below thread already, but it did not help.
https://answers.sap.com/questions/430958/fiori-elements-how-to-navigate-to-an-object-page-i.html
Thanks
Angshuman
I am able to solve this in a different way.
Added this code in the onIniti() method of the Object page to hit the edit button while navigating to the page for internal navigation.
this.extensionAPI.attachPageDataLoaded(function (oEvent) {
var editBtn = this.getView().byId(
"com.ipaper.pm.E11633.workschedule.zpmworkschedule::sap.suite.ui.generic.template.ObjectPage.view.Details::ZPM_C_DAMAGE_REPORT_TP--edit");
if (editBtn) {
editBtn.firePress();
}
}.bind(this));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.