Forum Discussion

Hargul_Sidhu's avatar
Hargul_Sidhu
Ideator I
2 years ago
Solved

Do the fields in the form show "Value" or the "Label" from a list

I have a filter list. the "Label" of which will show in "type" field of the "Document" form.
I want to edit this "Label" because we want the "Type" to be different, and editing  the "Value" erases the values from the Type field  of every Document form where this value occurred. We ofcourse can't have this so the solution was to just edit the Label. 

However, 
In the near future,I also want the "Type" to appear in the right click menu on a Document under Process Plan --> operations --> Documents. 
This "Type" will also show the "labels", correct?

Secondly, is Aras's default behaviour to show the "Label" of the list?

  • Hello!

    It is Aras's default behavior to show the Label from a list in the UI. The value is used internally. This allows you to have friendlier text shown to your users while the value is something you can control. It also allows for the changing of UI values without affecting the actual stored data of the list.

    As for your second question, when writing that functionality for Type to show up, you should be able to make sure that you're querying the label value of whatever list you're using to populate that dropdown.

    AJ

2 Replies

  • Hello!

    It is Aras's default behavior to show the Label from a list in the UI. The value is used internally. This allows you to have friendlier text shown to your users while the value is something you can control. It also allows for the changing of UI values without affecting the actual stored data of the list.

    As for your second question, when writing that functionality for Type to show up, you should be able to make sure that you're querying the label value of whatever list you're using to populate that dropdown.

    AJ