Hi, Readers.
Last week, I was asked how to hide the search icon (Tell me) in Business Central. Maybe the client does not want the end-user to use this functionality.
![](https://yzhums.com/wp-content/uploads/2021/02/image-286.png)
First of all, I personally do not recommend this approach, if you hope to restrict user functionality, you should set the detailed permissions for users.
![](https://yzhums.com/wp-content/uploads/2021/02/image-279-1024x491.png)
And in conclusion, we can’t hide this icon in SaaS. But in On-Premises, we can do it.
The method is the same as removing the Design button in On-Premises.
For details: Dynamics 365 Business Central: Controlling user access to Designer
1. Find “C:\inetpub\wwwroot\BC173\navsettings.json” file and open it. (BC173 is instance name)
![](https://yzhums.com/wp-content/uploads/2021/02/image-280.png)
![](https://yzhums.com/wp-content/uploads/2021/02/image-281-1024x545.png)
2. You can find “ShowPageSearch” in navsettings.json.
"//ShowPageSearch": [
"Specifies whether to show the search action for finding a page or report.",
"The action appears in the ribbon and navigation pane of the web client."
],
"ShowPageSearch": true,
![](https://yzhums.com/wp-content/uploads/2021/02/image-282-1024x501.png)
3. Change the setting of “ShowPageSearch” to false, then save and close “ShowPageSearch” file.
![](https://yzhums.com/wp-content/uploads/2021/02/image-283-1024x487.png)
4. Finally restart your Application Server. The Search icon will be removed. (Please do not just restart BC instance in Business Central Administration, it will not take effect.)
![](https://yzhums.com/wp-content/uploads/2021/02/image-284-1024x543.png)
Note: Although the search icon has been removed, the shortcut key “Alt + Q” can still be used.
![](https://yzhums.com/wp-content/uploads/2021/02/image-285-1024x545.png)
END
Hope this will help.
Thanks for reading.
ZHU
コメント