The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,161 other followers

StarTeam UI oddities: creating a new public filter depending on a public query

Posted by jpluimers on 2010/08/03

Reminder to self.

Creating a new public filter depending on a new public query in StarTeam always bits me.

The reason is this subtle set of StarTeam rules for queries and filters:

  • “Filters” can make use of “Queries”
  • Filters and queries can both be “private” and “public”
  • A “public filter” can not depend on a “private query”
  • When working with “Filters” you have a “public” checkbox
  • When working with “Queries” they always become “private”
    you need to copy them to make them “public”
  • public and private queries can have the same name

In order to make a private filter depending on a private query, you can follow these easy steps:

  1. Start the “filters” dialog (From the menu, choose “file”, then “filters”)
  2. Create a new filter
  3. Create a new query
  4. Have the filter depend on the query

In order to make a public filter depending on a public query, you have to add an additional step between 3 and 4:

  • copy the query to a public query
    tip: make sure your public and private queries have different names, as it becomes tough to distinguish them

-jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: