Skip to Content
1

Master-Detail CRUD template - Hide Master List View on Create Entity View

Jan 26, 2017 at 05:34 PM

167

avatar image

Hello Experts,

I'm developing custom Fiori application using Master-Detail CRUD project template in WEBIDE.

I have successfully hide master list view on detail view but i'm facing difficulty hiding master list view on create entity view.

I have tried below approach in "Master list view" but none of them worked.

  1. In "onAdd" Method: sap.ui.getCore().byId("idAppControl").hideMaster(); but this thorws error.
  2. In "onAdd" Method: sap.ui.getCore().byId("idAppControl"); but this returned as undefined.
  3. In "Init" Method: this._oListSelector = this.getOwnerComponent().oListSelector; & "OnAdd" Method: this._oListSelector.selectAListItem(sPath); Before calling CreateEntity View.

Thanks in advance for your help & inputs.

Regards,

Sameer

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers