22
Views
3
Comments
Display dropdown choice in table

Hi Everyone, 


I want to display the submitted form information in table, the form has 2 dropdowns that when I displayed them it the table page, it shows their order/id number.


how can I display their labels??


Regards


dropdown.png
2021-06-02 20-50-04
Márcio Carvalho

You can push the entity with the label to your aggregate, and then on the table, you change the expression value to the label on the total (the entity you inserted that has the label value).

Let us know if that works. If not, share an OML which is easier to see a solution to your question.

Kind Regards,

Márcio

UserImage.jpg
Raghad Momin

Thanks for your response Márcio, 


unfortunately, I can't share the OML file because its work project. 

but i think that I've did just what you recommend.

if this help, I'm sharing a pic for the table and the expression.


Regards,    

dropdown2.png
2023-10-21 19-42-11
Tousif Khan
Champion

Hello 

This can happen when yo are showing the information in the table and using the reference attribute to show the result into your table, You need to add Join to your aggregate of the entities that have the Name or Label for this Identifier, this is a Foreign key that you are showing in your table, this might be a reason it is showing as Number,

  • Open your Aggregate that is bind to this table
  • Add Joins of table that are referenced to it
  • Then change the expression like
  • GetPPForms.List.Current.(here put the name of the aggregate you have applied join which contain the name on that Identifier).(then the attribute which contains name)

I hope this will help

I have also created a sample Oml to show you a Join Condition 

Thanks

Tousif Khan

Sample_Employee_.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.