Hello all,
I followed exact same steps as on Shane's tutorial (deep linking to a specific record) but I'm getting below error when I try to click on any record on my app Gallery. Also when I try to do same action from power apps studio as app creator, I don't see same error but it just take me to same record every time I select different record. Am I missing anything?
"Getting your data"
Here is my setup for deep linking:
Onstart of App: Set(varProjectID, Value(Param("ProjectID")));
If(varProjectID <> 0, Set(varRecord,LookUp('Upgrade Evaluations',ID=varProjectID));Navigate(DetailScreen1))
OnSelect of record Navigate: Set(varRecord,ThisItem);Navigate(DetailScreen1,Transition.None)
Item property of my view form: varRecord
Onselect of button: Office365Outlook.SendEmailV2("Test@test.com", "Test", "Hello , Test body. <a href='https://apps.powerapps.com/play/886edd07-6792-4a8b-8afb-3559f5a11b70?tenantId=Test&hidenavbar=true&P..." & varRecord.ID & "'> LINK </a>
Thank you!
Solved! Go to Solution.
Hi @godala_vamshi ,
Firstly, this code at OnStart looks OK
Set(
varProjectID,
Value(Param("ProjectID"))
);
If(
varProjectID <> 0,
Set(
varRecord,
LookUp(
'Upgrade Evaluations',
ID=varProjectID
)
);
Navigate(DetailScreen1)
)
I actually do something similar to you and had a lot of trouble getting all the commas to work, so I did this
With(
{
wURL:
"https://apps.powerapps.com/play/88.....?tenantId=Test......&ProjectID=" & varRecord.ID
},
Office365Outlook.SendEmailV2(
"Test@test.com",
"Test",
"Hello Test body <a href=" & wURL & "> LINK </a>"
)
)
You also had an extra comma in your code after Hello, meaning the Body stopped there.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @godala_vamshi ,
Firstly, this code at OnStart looks OK
Set(
varProjectID,
Value(Param("ProjectID"))
);
If(
varProjectID <> 0,
Set(
varRecord,
LookUp(
'Upgrade Evaluations',
ID=varProjectID
)
);
Navigate(DetailScreen1)
)
I actually do something similar to you and had a lot of trouble getting all the commas to work, so I did this
With(
{
wURL:
"https://apps.powerapps.com/play/88.....?tenantId=Test......&ProjectID=" & varRecord.ID
},
Office365Outlook.SendEmailV2(
"Test@test.com",
"Test",
"Hello Test body <a href=" & wURL & "> LINK </a>"
)
)
You also had an extra comma in your code after Hello, meaning the Body stopped there.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @WarrenBelz , No luck. Now I see below error when clicked on record, I feel it has some thing to do with Item property of my view form which is set to varRecord.
Hi,
Try putting the lookup you have to set the Variable as the Item of your form. That is what I do
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @godala_vamshi ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
199 | |
97 | |
56 | |
51 | |
41 |
User | Count |
---|---|
266 | |
156 | |
84 | |
81 | |
56 |