[英]Microsoft USD - Prevent user from Closing Session Tabs by clicking x button
Just like we can handle if the user can close a specific hosted control or not inside unified service desk like below,就像我们可以处理用户是否可以在如下统一服务台中关闭特定的托管控件一样,
Similarly, I want to know if there is anything similar to check we can prevent the user from closing the Session Tab or not.同样,我想知道是否有类似的检查我们可以阻止用户关闭会话选项卡。 There is a x button right next to my session name so is there any out of the box way that we can prevent them from closing the session using that button?
我的会话名称旁边有一个x按钮,那么是否有任何开箱即用的方法可以防止他们使用该按钮关闭会话?
You can create a Custom Panel Layout: https://carldesouza.com/creating-a-custom-layout-in-unified-service-desk/您可以创建自定义面板布局: https : //carldesouza.com/creating-a-custom-layout-in-unified-service-desk/
You can edit the XAML that creates the tabs, sections, etc. behind the scenes.您可以编辑在幕后创建选项卡、部分等的 XAML。 By doing this, you can delete the X button completely.
通过这样做,您可以完全删除 X 按钮。
I would be careful against this - once a user opens a session, they will have no way to close it.我会小心谨慎 - 一旦用户打开一个会话,他们将无法关闭它。 Typically you define a session limit so that the user doesn't have too many things open at once.
通常,您会定义会话限制,以便用户不会同时打开太多内容。 You will have to find an alternate way for the user to close the session.
您将不得不为用户找到一种替代方法来关闭会话。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.