web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need help in sending l...
Power Apps
Unanswered

Need help in sending link to email to get approval

(0) ShareShare
ReportReport
Posted on by

Hi 

I am currently developing approval request, but one of functions is not working very well.

 

I would like to create new share point list item using power apps form,

and send an email with link to get approval to 1st approval by clicking "accept" icon.

 

Screen1:

BrowseScreen1 - Browsedallery1(connected with sharepoint "tax inv amend")

* BrowseGallery - Onselect property

 

 

Set(varItem, ThisItem); Navigate(DetailScreen1, Fade);

 

 

 

Screen2:

EditScreen1 - EditForm1(connected with sharepoint "tax inv amend")

*EditForm1 - OnSuccess property

 

 

Set(varItem,EditForm1.LastSubmit); ViewForm(EditForm1);

 

 

 

*IconAccept1 onSelect property

 

 

SubmitForm(EditForm1);
Set(varRequest, EditForm1.LastSubmit);
Office365Outlook.SendEmailV2(
 varRequest.OP_1stApprover,
 "Tax Invoice Amend Request - Approval Required",
 "Tax Invoice Amend request was made for "&varRequest.DebtorName&"<br>"
 &"<a href="""&varAppID&"?recordid="&varRequest.ID&""">Click here</a> to approve/reject the request."
 ,
 {Cc:Office365Users.MyProfileV2().mail}
 );
Refresh('Tax Inv Amend');

 

 

Please advise...

Categories:
I have the same question (0)
  • Scott_Parker Profile Picture
    1,090 on at
    Re: Need help in sending link to email to get approval

    Could you be more specific, which function isn't "working well?" What is the current state of that function, has an error, just doesn't do what it is expected to, etc.

  • AriYeom00 Profile Picture
    on at
    Re: Need help in sending link to email to get approval

    Hi Scott

     

    Sorry for confusion. 

     

    Please see below.

    What I expected process is here.

    1. User enter BrowseScreen1, and search item using browsegallery1

    2. If user can't find own item, then click IconAdd button.

    3. Then, EditScreen1 is navigated, and user start input data using editform1.(at that time user should input 1st approver email)

    4. Once finishing, user click iconAccept1 button.

    5. editform1 display mode change view mode, and send an email to 1st approver with link.

    6. 1st approver click the link, then "EditScreen1" load with user saved data.

    7. then, approve or reject button is activated and 1st approver can click the button.

     

    Step 1~7 is working, but whenever 1st approver click the link, app start with "BrowseScreen1". Not "Editscreen1".

    I have tried On start property for navigate to editform1, but no longer support navigate function in on Start anymore.

  • Verified answer
    Scott_Parker Profile Picture
    1,090 on at
    Re: Need help in sending link to email to get approval

    I personally just turn on the retired setting that allows Navigate in OnStart, the code is cleaner. The impression I get from Microsoft in https://powerapps.microsoft.com/en-us/blog/app-startscreen-a-new-declarative-alternative-to-navigate-in-app-onstart/ is that StartScreen is just the first part of a set of declarative functions that handle caching and other things normally done iteratively with OnStart. So, I'm optimistic Navigate in OnStart won't be fully removed until OnStart is itself is retired.

     

    If you don't want to enable the Navigate in OnStart, you can do something like Reza does: https://youtu.be/Om4beefKmV0?t=1035 to implement deep linking using StartScreen.

  • TAREKEL Profile Picture
    2 on at
    Re: Need help in sending link to email to get approval

    HEY MY NAME TAREK

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard