In my app I have an email sent every time the user submits a form. My problem is that the link opens the app and just says "getting your data" then it never loads. What could be causing this? This is in my onstart: Set(varReqID,Value(Param("TestID"))); If(varReqID <>0, Set(varRecord,LookUp('Submitted Requests', ID = varReqID));Navigate('CR Form')); Then OnSucess of the form has this: "Dear " & varUser & ", <br> <br>Thank you for your request attached is the link for future reference <br>
<a href= ""https://apps.powerapps.com/play/a9a8b83e-187d-4c5a-88c3-90f5a662873f?tenantId=5dbf1add-202a-4b8d-815... Form1.LastSubmit.ID & " ""> Request Link </a><br><br> The email link looks correct it has the correct app link then testID=x at the end of it. I am not sure why this isn't working.
Solved! Go to Solution.
Okay now I think we see the problem. You should match your form Item formula to the parameters on the OnStart property
So now try this:
Retain the Item property of your Form:
LookUp('Submitted Requests',ID=recID)
Then you need to change your OnStart Code. Try this:
Set(recID,Value(Param("TestID"))); Navigate('CR Form'));
Let me know if this works for you.
When you are seeing the "getting your data" message then I am assuming that the problem is from a form.
Try the following to the form:
1) Make sure the form is getting the correct data. You have to make sure that the Item property of your form is your variable varRecord.
2) If it does not work. Try to do the function NewForm(YourFormName) on your app OnStart property.
LookUp('Submitted Requests',ID=recID) - this is my item property
Okay now I think we see the problem. You should match your form Item formula to the parameters on the OnStart property
So now try this:
Retain the Item property of your Form:
LookUp('Submitted Requests',ID=recID)
Then you need to change your OnStart Code. Try this:
Set(recID,Value(Param("TestID"))); Navigate('CR Form'));
Let me know if this works for you.
I changed the onstart to this - Set(RecID,Value(Param("TestID"))); If(recID <>0, Set(varRecord,LookUp('Submitted Requests', ID = recID));Navigate('CR Form')); and still got the same issue didn't load when I clicked the email link @Adrian_Celis
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
51 | |
47 | |
34 | |
32 |
User | Count |
---|---|
258 | |
88 | |
77 | |
68 | |
67 |