Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Set Default Defect Grid View in QC 11

$
0
0

It can still be done, but it is not so straight forward as in previous versions. HP has collected the view settings for each user and module in one single setting. And favorites are stored in a separate table in QC 11.0, which means the technique for setting a common view has to change.

 

The first thing to do is to create a simulated common settings that can be copied at login to the user settings. What you can do is log in with your own user, arrange the columns as you want them, log out, and then go to Site Administrator and run this SQL toward the project (assuming your username is "abc"):

 

update COMMON_SETTINGS set cset_owner = '__default__' 
where cset_category = 'DefectsModule-000000004243046514' and cset_name = 'ModuleState' and cset_owner = 'abc'

 Then add this code to the CanLogin function in the workflow:

 

Set cs = TDConnection.CommonSettings
Set us = TDConnection.UserSettings
cs.Open "DefectsModule-000000004243046514"
us.Open "DefectsModule-000000004243046514"
us.Value("ModuleState") = cs.Value("ModuleState")
cs.Close
us.Post
us.Close
Set us = Nothing
Set cs = Nothing

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>