简体   繁体   中英

How to disable buttons in Fiori UI5 app using HTML

I am not an expert in scripting languages. I am trying to hide buttons in SAP Fiori app, by debugging in Mozilla browser using the "Inspect element" tool. If I delete the HTML code, the button is deleted but I want to achieve this behavior through code in the SAP Fiori app. Please, could you guide me how to achieve this in SAP Fiori (UI5) app?

Screenshot of HTML

在此处输入图像描述

In order to hide a button, you might delete the button in the corresponding XML view. Another possibility might be, to use the “visible”-property of the button control.

In your case with the App maintain Personal Data you can remove the create record button via backend customizing. There is no need to modify or extend the Fiori app. The customizing view in the backend system is V_T7XSSPERSUBTY.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM