cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mrc4t987
Frequent Visitor

Share a pre-populated form

Hi, I'm new to power apps and as such I don't know the best solution for the requirements I was given.

 

Is it possible to share a form view with pre-populated fields on it to new users based on data selected from a Gallery? 

 

I have sort of an admin view, which basically consists in a Gallery which displays many users and it has an integrated Submit button, and then I have another power app which consist in a rating form whose user who would be rated is intended to be the "Submitted" one from the Gallery view, connecting both power apps would require Power Automate which looks more complicated, the reason it must be like that is because the shared PowerApp should only be the rating form with data already on it, but I thought about integrating such form in a second screen within the Admin app, but that idea depends on whether or not it is possible share it that way.

 

So, is it possible to share the form view with pre-populated fields on it to new users based on data selected from a Gallery? or should I stick with the inter PowerApp model?

1 ACCEPTED SOLUTION

Accepted Solutions
NandiniBhagya20
Solution Sage
Solution Sage

Hi, 

You can use deep linking functionality: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/how-to/deep-linking
You can pass screen name, list item id as a query string parameter in the url and you can then share the URL. Use Param("stringParameter") function to get the data of the parameter of ScreenStart or AppStart property and navigate to that particular screen


Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

View solution in original post

4 REPLIES 4
RandyHayes
Super User
Super User

@Mrc4t987 

I am not clear on what you mean by "sharing the form view with pre-populated fields".

Are you:

1) Trying to show a form with the data simply from the item selected (record) in the gallery?

2) Trying to show an existing record and have some fields changed/filled if not already?

3) Trying to show a new form with pre-populated data/defaults?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

With share I mean, generating a link that would lead the receiver into the rating form screen with another logged user (the one clicking the link), and once he enters the form has pre-populated fields based on the data the first user selected from the Gallery.

 

Let's say Gallery view is an Admin view, the Admin selects a certain user and that user already has an email in the data table, the info of such user goes into the pre-populated fields of the rating forms, my question is that once those fields are filled after selecting them from the gallery view by the admin, can the pre-populated form be shared with another person (in this case, the one whose email is linked in the data table) and once he accesses the only thing he has access to is such pre-populated form.

NandiniBhagya20
Solution Sage
Solution Sage

Hi, 

You can use deep linking functionality: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/how-to/deep-linking
You can pass screen name, list item id as a query string parameter in the url and you can then share the URL. Use Param("stringParameter") function to get the data of the parameter of ScreenStart or AppStart property and navigate to that particular screen


Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

@Mrc4t987 

Yes, so in your case you are going to provide a link that has the record information for the record of your datasource.  You would simply need to look up that passed parameter and provide the resultant record for the form.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
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 (5,996)