View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Multiple instance of personnalized list in personnalized screen - ProjeQtOr
 

[SOLVED] Multiple instance of personnalized list in personnalized screen

More
27 Jun 2023 11:44 #1 by jmmbb
Hello,

In customised screens, customised lists can be used, but is it possible to use several instances of the same list in the same screen?
Example: I want to be able to define the context in which a component version can be used. I have a custom STATUS list defining the status of the component (authorised, restricted, prohibited, etc.) and I want to be able to use this information for several contexts, so I need to set up four CONTEXT 1 to 4 fields, each using the same STATUS list.
However, when defining the field, it is only possible to define idETAT as the name to refer to the custom list. idETAT1, idETAT2, etc doesn't seem to work.
Is there any way of implementing this requirement?

Best regards,

Please Log in or Create an account to join the conversation.

More
29 Jun 2023 10:57 #2 by babynus
Yes, it is possible.
If your class is Xxxx, you already used idXxxx as name for a field.
Then you can add fields names idYyyy__idXxxx when idYyyy must be different for each new field.
First id with following uppercase sets field as a list, __idXxxx defines the class used to populate the list.
Take care it requires double underscrore...
NB : this is explained in the plugin manual 
 

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
29 Jun 2023 12:04 #3 by jmmbb
Thanks !

You're right, I forgot the RTFM (Read The F*** Manual) rule :) !

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.