
Hi all,
I am trying to create a model driven app that uses a integrated canvas app as its home page. From there you can click a button to open a model driven app default form.
That being said, I want to set default selected items / values for two field in the form depending on what button you click in the canvas app. Lets say a button has the number 1 on it, the corresponding field in the model driven app form would be set to 1, if the button had the number 2, the field would be set to 2. I cannot find a clear way to do this.
What I have tried is patching these default values and a unique primary column value, depending on which canvas app button is selected , by patching the datasource and creating a new record with these values written in.
The only issue I am having is opening this newly created record when I navigate to the model driven app form instead of a blank model drive app form.
In summary, I want to be able to open an existing item in a dataverse table in a model driven app form by clicking a button in an embedded canvas app by searching for a matching primary column value in my datasource.