Model-driven Power App – 如何移除现有的经典命令

huangapple go评论49阅读模式
英文:

Model-driven Power App - how to remove pre-existing classic commands

问题

在我的基于模型驱动的 Power App 的视图和表单顶部,我有一些命令(按钮),我不需要。

我想删除或隐藏例如 '删除' 按钮,当我在我的应用程序的页面(=表格)上 '编辑命令栏' 时。

我看到一个消息 '此按钮是只读的。遗留按钮目前不受支持。' 链接页面 上说明 '预先存在的经典命令不能在命令设计器内定制,直到它们迁移到现代基础设施。这包括开箱即用的命令,将逐步迁移到现代基础设施中。您可以继续使用其他机制和第三方工具来定制经典命令。'

如何删除这样的命令?如果我被允许下载的话,我将查看 Ribbon Workbench

英文:

On the top of the views and forms of my model-driven Power App I have some commands (buttons) I don't need.

I would like to delete or hide e.g. the 'Delete' button when I 'Edit command bar' for a page (=table) in my app.

Model-driven Power App – 如何移除现有的经典命令

I see a message 'This button is read-only. Legacy button is not supported at the moment.'. The linked page states 'Pre-existing classic commands can't be customized within the command designer until they're migrated to the modern infrastructure. This includes the out-of-the-box commands, which will be migrated incrementally over time. You may continue to use other mechanisms and third-party tools for customizing classic commands.'

How to remove such a command? I will look at Ribbon Workbench if I am allowed to download it.

答案1

得分: 2

可以使用“Ribbon Workbench”工具,备份实体的功能区并根据您的需求自定义功能区/命令栏。不鼓励删除/移除任何命令,因为您可能以后会需要它们。

除了删除命令之外,还有其他方法可以隐藏它们,例如在安全角色中移除权限等。

通常,非管理员用户不会根据角色权限和自定义设置看到所有这些功能区/命令栏。

英文:

Yes you can use the Ribbon workbench, backup the entity ribbon and customize the ribbon/command bar based on your need. It’s not encouraged to delete/remove any commands since you’re not using it.

There are other ways to hide them, removing privilege in security role, etc. instead of deleting them.

Normally users other than admins will not see all of them based on role privileges and customizations.

答案2

得分: 1

如Arun已经提到的,您可以使用Ribbon工作台来隐藏传统按钮,但在采取这种方法之前,请尝试利用安全角色来移除访问权限。

即,将实体的删除权限移除将会移除删除按钮,大多数按钮都是如此。

原因是,即使按钮被隐藏,仍然有许多删除的方式,比如从控制台窗口进行简单的HTTP请求,或者使用XRMtoolbox或批量删除等方式,其他基于特权的按钮也是如此。

英文:

As Arun has already mentioned, you can use Ribbon workbench to hide legacy buttons, but before that approach, please try to utilize security roles to remove the access.

i.e., removing Delete access to the entity will remove the delete button, same goes for most of the buttons.

Reason being, there are many ways to delete even if the button is hidden, like simple http request from the console window or XRMtoolbox or bulk delete etc. same goes for other privilege based buttons

huangapple
  • 本文由 发表于 2023年5月22日 23:42:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76307862.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定