I want to use a embedded canvas app in model driven app, and created the canvas app according to the MS DOC , But the canvas app always shows "getting your data".
I googled a lot of solutions that says I should add a timer to get the recorder displayed in the model-driven app's Main Form, but the formula they used
does not work in my environment. It says can not recognize the identifier fieldname that in my datasource.
does not show error, but display nothing.
The canvas app's form is created automatically when I click the customize button in the Field Properties dialog of classic form editor, and the formula of ModelDrivenFormIntegration.datasource is automatically set to [@entityname]. Anything seams likely alright but it does not work...
I am going crazy, why I did everything in MS doc but it does not work... 😞
Any answer or web resources are appreciated !!
Hi @sukie ,
The getting your data message is coming from an EditForm with no item to display.
On your end, if you would like to use an Edit form to display the same record as the selected item in model-driven apps, you will need to set Item of the edit form to:
LookUp(Table, 'GUID field of this table' = GUID(First(ModelDrivenFormIntegration.Data).ItemId))
then in this edit form you will be able to edit fields and select the field you want.
Hope this helps.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Thank you very much for you reply.
I tried the formula you gave me, but it still says the ItemId does not exist.
Do you know how to print all of the fields of the record that the formula First(ModelDrivenFormIntegration.Data) returns?
I think the ModelDrivenFormIntegration is weird because I input [.] follow this variable and it shows nothing.
The edit form is automatically generated when I click customize button and the datasource of ModelDrivenFormIntegration is set to [@Father] which is the table name.
Is that possible because I am using developer environment?
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.