How to create a picklist with all baselines labels within same document in a pick field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How to create a picklist with all baselines labels within same document in a pick field ?
I have a question, How to create a picklist with all baselines labels within same document in a pick field ? in Windchill RV&S (formerly Integrity Lifecycle Manager).
- Labels:
-
Requirements & Validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I've had this problem for a long time, but now I'm getting to the point where I have to find a solution to this problem.
My use case is this: to manage our baselining process, we need an object (type Baseline) that contains, among other things, the specific versions of requirements documents (W&D), which are part of it. The only way to have a dynamic pick list is to use a field of type "IBPL", so we need items to back it up.
My solution at this point is to have an item type "Label" that is automatically created via trigger when the right event/timing is selected. An IBPL to that type will give me a picklist that I can use in my "Baseline" item type.
Fortunately the ScriptIssueBean has a function getLabels that returns an item's label beans, So now it's just a matter of writing the trigger script to generate/update items.
If anyone thinks there's a better way, please let me know. Otherwise I'll let you know when I'm done.
[PS: if you're interested in a little more details: of course, I don't create too many types. In fact, I have one type called "Work Product" with multiple subtypes. So in fact, "Baseline" and "Label" are subtypes. That's because I want my users to understand that the point of any process is to manage Work Products.)
