cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori List Report: Internal Navigation with Edit mode

Angshuman
Participant
0 Kudos

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

gregorw
Active Contributor
0 Kudos

Have you checked the final soution of joseph.berthe in the comment https://answers.sap.com/comments/455585/view.html?

Angshuman
Participant
0 Kudos

Yes, its a part of the comments I already mentioned above. There is mentioned for External navigation. My requirement id for internal navigation.

Angshuman

Angshuman
Participant
0 Kudos

Any update on this?

Accepted Solutions (1)

Accepted Solutions (1)

Angshuman
Participant

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));

Answers (0)