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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,705)