cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DAVIDPOWELL
Post Prodigy
Post Prodigy

create a link in email to a form in app

I have code that runs for "OnSuccess" 

 

The email is going through just fine.

But my link is not showing up. ?

Set(varLastID, Form_Create_Id.LastSubmit.ID);
Patch(eMail_Flow_Intake_Information, LookUp(eMail_Flow_Intake_Information, ID=varLastID), {Title: Requestor_Input.Text,Requestor_eMail: Requestor_eMail_Input.Text, Requestor_Racfid: Requestor_Input_Racfid.Text ,Impacted_Team_Member_Name: txtTeam_Member_V.Text,
Impacted_Team_Member_eMail: txtEmail.Text,Impacted_Team_Member_Racfid: txtRacfid.Text,
Topic: Topics_Input.Selected.Result, SubTopic: Subtopic_Input.Selected.Result, 
Free_Form_Question_Asked: Faq_Questions_List.SelectedText.Value,Free_Form_Question: txtQuestion_Submit.Text,Status: "Submitted"})
;
Office365Outlook.SendEmailV2(
                    "david.powell@xxxxxx.com", 
                    "Work Request: " & varLastID & "", 
                    "Added more information. And will work on formatting later ! but This is a Information Test: " & " "
& "<br>Request Id:<br>" & varLastID & "<br> <br>" 
& "<br>Requestor:  <br>" & Requestor_Input.Text &  "<br> <br> " 
& "<br>Requestor_User_Id:  <br>" & Requestor_Input_Racfid.Text &  "<br> <br> " 
& "<br>Impacted_Team_Member:  <br>" & txtTeam_Member_V.Text & "<br> <br> " 
& "<br>Impacted_Team_Member_Racfid:  <br>" & txtRacfid.Text & "<br> <br> "
& "<br>Topic:  <br>" & Topics_Input.Selected.Result & "<br> <br> " 
& "<br>Sub_Topic:  <br>" & Subtopic_Input.Selected.Result & "<br> <br> "
& "<br>Question:  <br>" & txtQuestion_Submit.Text
& "<br>Click Here to Respond <a 'https://apps.powerapps.com/play/60399e08-1f5a-4432-96ad-29ccf2a50396?tenantId=48d1dcb6-bccc-4365-ac7f-b937a7f7fd71&FormId=" & varLastID & "'>link</a>"
,
                   {
                     Attachments: ForAll(        // Modify formula here
                                         RenameColumns(Form_Create_Id.LastSubmit.Attachments, "DisplayName", "FileName", "Value", "FileContent"),
                                        {
                                          Name: FileName, 
                                          ContentBytes: FileContent, 
                                          '@odata.type': ""
                                        }
                                  )
                   }
);
ResetForm(Form_Create_Id)




 

 

Thanks

David Powell 

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

@DAVIDPOWELL 

 

<a href='https://apps.powerapps.com/play/60399e08-1f5a-4432-96ad-29ccf2a50396?tenantId=48d1dcb6-bccc-4365-ac7..." & varLastID & "'>link</a>

 

Also, I am assuming you alreay have logic on AppStart to read the url parameter using Param function

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

View solution in original post

1 REPLY 1
RezaDorrani
Dual Super User II
Dual Super User II

@DAVIDPOWELL 

 

<a href='https://apps.powerapps.com/play/60399e08-1f5a-4432-96ad-29ccf2a50396?tenantId=48d1dcb6-bccc-4365-ac7..." & varLastID & "'>link</a>

 

Also, I am assuming you alreay have logic on AppStart to read the url parameter using Param function

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,253)