Hello,
I'm blocked with a real basic scenario but I don't understand the behavior so I ask to you some help.
So, below the components used for this scenario:
- I've a combo box "ddBU" which display the Business Unit from my CDS (items = 'Business Units')
- There is a custom lookup of the entity "Business Units" to "User" (named "new_projectmanager")
- In my canvas app, when the Business Unit is choosen via the combo box, I want to retrieve the name of the User linked to this BU (and put it in a text label).
So, I have these formules
On the OnChange of the Combo Box:
UpdateContext({varSelectedBU: ddBU.Selected});
On the Text of the label:
varSelectedBU.'Project Manager'.'Full Name'
But, when I publish my app, the label stays empty.... I try to work with a collection of "Business Unit" but it complicates the app and it doesn't work anymore....
I also tried to add a Galery of User/Business Unit (and hide them) because I read some strange things about that but not result for this.
And as explained in the title, it fails only in the published app, not when I click on the "preview the app"
If someone has an idea, it's more than welcome 🙂
Thank you