on 02-04-2019 10:48 AM
I have a requirement to hide a fragment view field in one of my fiori apps, There are no extensions available to do this!
I tried to write a hook method 'onafterrendering' in a custom container of the main view but still not able to succeed!
Could any of one you guide me to hide fragment view field dynamically in the called app?
Thanks and Regards Ranjith Rupireddy
Tried with the below code in custom control of main view ( In extension of Fiori app)
onAfterRendering : function(){
var buttonToHide = this.getView().byId("changePictureBtn");
buttonToHide.setVisible(false);
},
I should hide the fragment field as attached with this Question..
Hi Mahesh, Nabheet,
Thanks for your response!
Yes, as Mahesh said, it is a standard Fiori app( HCM apps like 'My Addresses', 'My Personal Details', My Bank Details' etc,).
It's a common fragment view used in the above 4 std Fiori apps!
I can see only one custom container extension in the main view of child apps above(HCM apps)!
tried with different methods but like above but still failed to hide the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.