Question
Hi.
ActionTrackerPlugin rocks!
I want to distinguish between two types (or categories) of action items in my team Twiki, "team" and "individual", so that I may list them in separate tables.
I have defined a non-standard text attribute called "type" which allows me to do what I want as long as I set the type correctly in the action item. (type="team" or type="individual")
Here's the problem: Many of my existing actions don't have a type defined, so I would like to find a way to specify an ACTIONSEARCH command which will do the following:
1) include "team" actions
2)
also include "typeless" actions (such as the ones I captured before I started playing with these non-standard attributes)
3) exclude "individual" actions
Anyone know how I might achieve this please? I have tried all kinds of regular expressions in the type attribute of my ACTIONSEARCH command, to no avail.
Failing that, the ugly solution might be to script something to go and retro-actively add the type="team" attribute to all past action items, but I think a more elegant way forward would be to make the type="team" be the default for actions in which no "type" is specfified.
Clues?
Thanks in advance, Nick.
Environment
--
NickCole - 20 Jun 2005
Answer
As I recall, ACTIONSEARCH doesn't do regex searches in user defined fields, though I'll double-check when I have access to the source.
You could always use a standard SEARCH, I suppose.
--
CrawfordCurrie - 30 Jun 2005
Thanks. Do you know of any way I might force new action items to be of type="team" please?
--
NickCole - 04 Jul 2005
You could force them in the
beforeSaveHandler
, when missing fields are filled in.
--
CrawfordCurrie - 14 Jul 2005