如何在siebel open ui中了解applet模式(How to know applet mode in siebel open ui)

系统教程 行业动态 更新时间:2024-06-14 17:03:54
如何在siebel open ui中了解applet模式(How to know applet mode in siebel open ui)

是否有任何siebel open ui函数可以知道applet的模式,就像在查询模式或编辑模式或新模式等?

提前致谢

Is there any siebel open ui function is there to know the mode of the applet,like is it in query mode or edit mode or new mode etc?

thanks in advance

最满意答案

如果您处于事件上下文中且无法访问PM,则可以尝试查找仅在特定模式下处于活动/可见状态的活动控件。

下面是一些通用代码,用于通过确认没有可见的特定类的Go / ExecuteQuery按钮来确认视图中的applet是否处于查询模式:

var eQueryBtnCount = $("body").find(".siebui-icon-executequery").filter(function() {return $(this).css('display') !== 'none';}).length; if (eQueryBtnCount < 1) { // Do Something that is not available in Query Mode }

There is a method in siebel open ui with which you can get the mode of the current applet..

SiebelApp.S_App.GetActiveView().GetApplet("Applet_Name").GetMode();

this will return the mode of current applet

更多推荐

本文发布于:2023-04-24 14:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/9f36463e91f5b5405cb0330915edf06a.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模式   如何在   siebel   ui   open

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!