Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Launch a Model Driven App form with parameters from canvas app gallery button

Hi All,


We have a scenario where a user should be able to click a button from Canvas App gallery and that should launch a Model-Driven App form with pre-populated information(Information from the gallery record).


We tried using Power Automate to create a record in Dataverse and then used the Launch function in Power App to open the created record. Since we are parsing the details from the gallery and then using Power Automate to create the record, it takes about 10 seconds to create the record and then send the URL back to Power App and launch.


We are looking for this to happen in Real-time and since PowerAutomate will take time to create and send the details back, I don't think we can use Power Automate for real-time functionality.


Is there a way we can build this functionality in real-time? For Example - The user clicks the button from the Canvas App and it will launch the Model-Driven app form with Pre-populated information?(It is not necessary that we should create a record in dataverse before launching. But, we should be able to pass the parameters of the record from canvas app to Model-Driven app form).


Any thoughts on how we can make it work real-time? 


Thanks in Advance!

Super User
Super User

Hi @ajayravi-94


There is no direct way to pre-populate a record. We have to write a Javascript function to get the data from the query string.


Are you calling Power Automate from PowerApps and takes 10 seconds to create a record?


We have done the same thing to create a record it takes only a few seconds (Max 4 seconds) which is expected.


Frequent Visitor

Hi @StalinPonnusamy ,


Thanks for your response!


If we write a write a JavaScript function in Model-Driven App, will we be able to pass the parameters from Canvas app to Model Driven App form on launch?


We are setting multiple fields in the form - Text, lookup, Date, owner field etc. In Power Automate, we are using dataverse connectors and a switch statement to perform multiple operations. Due to multiple connectors in power automate, it takes anywhere from 7-10 seconds on an average to create a record and send the URL back to Power App.

Hi @ajayravi-94 


Looks like Microsoft stopped supporting this. I have down lots of projects by sending custom param as query parameter but not accepting now like


So Power automate is the only option to go.


Did you ever figure this out?

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,973)