Quality Center 过滤器和收藏夹操作
我正在尝试更改缺陷模块中当前用户显示的过滤器。
我已经使用过滤器设置了“tdc.BUGFactory.Filter”对象,我可以访问数据,但我无法强制将其显示给用户!知道如何做到这一点吗?
如果我使用 SQL 命令将其存储在公共设置表中,是否可以调用一个操作来加载我为用户创建的“收藏夹”视图?
谢谢, 阿什拉夫
===================================================== ===============
我找到了答案,但是 stackoverflow 不允许我发布它:
我通过 SQA 论坛找到了答案,要强制使用以下过滤器,
Set defectFilter = tDConenction.BugFactory.Filter ' Example to set a filter criteria
defectFilter.Field ("BG_DETECION_DATE") = "[Today]"
SetDefectsFilter defectFilter.Text
Set defectFilter = Nothing
还有一个名为 GetDefectsFilter() 的函数,用于获取当前过滤器
I am trying to change the filters in the display of the current user in the Defects module.
I have set the "tdc.BUGFactory.Filter" object with my filter and i can access the data, but i cannot force it to be displayed to the user! any idea on how to do that?
If i use a SQL command to store it in the common settings table, would it be possible to call an action to load the "Favorites" view i created to the user?
Thanks,
Achraf
================================================================
I found the answer, however stackoverflow doesn't allow me to post it:
I fonud the answer through SQA Forums, to force a filter you use the following
Set defectFilter = tDConenction.BugFactory.Filter ' Example to set a filter criteria
defectFilter.Field ("BG_DETECION_DATE") = "[Today]"
SetDefectsFilter defectFilter.Text
Set defectFilter = Nothing
There is also a function called GetDefectsFilter() which gets the current filter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论