on 03-08-2013 1:24 PM
Hey guru's,
I'm trying to have a singleLine and/or a singleSelect attribute automatically select the second value it contains when opening a UI task but can't seem to find any relevant information about this.
You guys maybe know about a handy way to do this?
Thanks in advance,
Jonathan
Hi Jonathan,
[EDIT: I see I misunderstood the question so my answer below is not really that relevant. The only default value you can set in a dropdown is the one on the task attribute-list definition which only allows you to set a specific value, not the nth value from the resultset]
In its simplest form you create the attribute with the following properties:
Presentation tab - Presentation: Lookup, Number of lines: 1
Attribute values tab - SQL Query and a statement getting some useful information such as:
select mcDisplayName +' ('+mcMSKEYVALUE+')' from idmv_entry_simple where mcmskey = %USERMSKEY%
The Lookup presentation is read only by design and only works with values that are already set on the user. So its not dynamic based on what you enter in the actual form itself. If thats what you're looking for I can try to get back to you on Monday if someone else doesnt answer it by then.
Br,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey guys, thanks for the answers. So I guess it ain't possible I still need to find a solution to my problem, I'll try some different roads.
thx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan
I don't think its possible by configuration. I think even the java class you can trigger won't be able to do it as it only returns the object. You might be able to reorder the data in the list so that the one you want is on top though.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.