Hi @v-xida-msft Kris,
Thanks for your response.
And you are total right about the lookup field Port on Case Entity is a Many to One field.
There are definitly records of Port Entity, the value of the Port lookup field on Case Entity record has value.
The Canvas App is embedded on the Case Entity form (in D365)
and as far as I know the formula
First([@ModelDrivenFormIntegration].Data).Port worked with Preview, but not in the update version anymore.
In fact if I use the above Formula, the App Check mark it out as error.
According the documentation I should be able to using ModelDrivenFormIntegration.Item to get to all the values on the Case Entity record (the parent record where the Canvas App is embedded)
Sadly via the ModelDrivenFormIntegration.Item it appears to be that I get all field values on the parent record, but not lookup fields.
So what I have done so far is get the Case record using the filter and the case guid into a global var, and then suddently the Port lookup field value is returned...
This is basically the same as what you have suggested
LookUp(Case, 'Unique Identifier Column' = [@ModelDrivenFormIntegration].Item.'Unique Identifier Column').Port.Port
And that works! so for the timebeing my issue is solved.
However I am still left wondering as in why the
[@ModelDrivenFormIntegration].Item.Port or [@ModelDrivenFormIntegration].Item.Port.Port always returns empty...
One question for you is - when you say "Please make sure the Port field (LookUp field) of the current Case record has been bind to proper Port record."
You actually mean to ensure there is valid value in the Port lookup field on the Case record, correct? Or?
Cheers
Xun