1

I want to add the MS Flow Approval Page inside a SharePoint modern page (i wrote another question regarding this @ Embed MS Flow Approvals page inside a modern sharepoint page using iframe ), and seems that simply embedding the MS Flow Page inside SharePoint modern page is not supported.. so i am think of building a PowerApp which show the user's MS Flow Approval items >> then embed the PowerApp inside SharePoint modern page. Till now i did the following:-

First of all this is the MS Flow approval page i am talking about which i am unable to embed inside SharePoint:-

enter image description here

Now i created a new Power App >> i specify the Approvals as the data source >> where i got the MS Flow approvals requests as follow:-

enter image description here

but i am not sure how i can add the ability to Approve,Reject the requests + how to show the corresponding file (as in the MS flow Approval Page)? .. Now if this is too complicated (to rebuild the MS Flow Approval Page inside powerapp), then how i can add a link inside PowerApp's items which will redirect the user to related MS Flow item inside the MS flow approval page? so for example if i click on one of the above items inside powerapp, it should take me to the related item inside MS Flow Approvals page where i can Approve/Reject the request and view the related document which caused the Flow to run,, is this possible as a simpler approach?

2

You won't be able to do it without CDS. The state of Flow and approval are managed in CDS and data spreads across multiple entities. This is not easy to understand but if you give enough time you may understand it. Having said that I came across entities that cannot be edited by user (I am still working on this part) These entities manage all complex and simple tasks related to approval e.g. awaiting holding requests, responses reassignment. You will have to explore how this stuff works to make your powerapp work.

enter image description here

Update

If i check the network trace after clicking approval in Action tab i see a GUID which is the same present in entity. I have tried getting around this but couldn't give enough time, so i don't have anything conclusive for you.

enter image description here

enter image description here

5
  • thanks for the reply.. so it is even complex to just build a list of link which takes the user to the MS flow approvals? also can you please explain what your image provides?
    – John John
    Nov 19 '20 at 15:43
  • to build that link you need a ID for your approval request which is again stored within an entity in form of GUID with that i belive you can create the URL Nov 19 '20 at 15:45
  • can you provide more info?
    – John John
    Nov 19 '20 at 15:47
  • I see there are restriction on entity and it won't be easy to get this working. Nov 19 '20 at 15:53
  • referring back to your point You won't be able to do it without CDS.. now i have CDS connectors so can i benefit from them?
    – John John
    Nov 19 '20 at 20:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.