Label : display entity code instead of name
Dear all,
I'm trying to display an entity selection in a label. This entity is set to display the descrition by defaut.
@Entity then displays the description of the members.
I've tried seleral things having a look at board online help, like:
@Selection_Ex(Entity="MYENTITY", Display="Code")
Nothing works... Any idea?
Many thanks for your help!
Best regards,
Nicolas GENESTAR
Answers
-
Correction:
@Selection_Ex(Entity="MYENTITY", Display="Code")
works but as long as you have a select on the dimension (meaning not restriction by authorisation or all values selected)
Hope this helps!
0 -
Dear Nicolas GENESTAR,
thanks for your request.
For general, is it possible to select more than one member from your entity or do you select just one element?
When you just have one element to display you can do the following.
You can insert a Layout to your label, and use the entity with setting to code for display setting.
When it is possible to select more than one element from "Myentity" you can use dataview, which just shows the axis and you disable header and footer.
Alternatively (with change of your database) you insert the entity redundantly to your database, map it 1:1 to the origin one and switch the display of the redundant one to "code". In your screen you can use @Entity for that.
Hope it helps
regards
Alexander Kappes
0