70 likes | 81 Views
Passing Parameters In Power App Forms That Are Embedded In SharePoint Pages Is Not Possible. This Is A Microsoft Power App Bug Which Microsoft Has Acknowledged And Is Working On A Resolution. In this presentation, the Leading Provider Of SharePoint Consulting Services found a way to get the desired outcomes. Check how they did it!<br>
E N D
PASSING PARAMETERS USING QUERY STRING IN POWER APPS • This Is A Microsoft Power App Bug Which Microsoft Has Acknowledged And Is Working On A Resolution. • We have to pass parameters using a query string in powerapps form. • This way, on another page it would get the parameter and show the filtered data based on parameters. • Develop Power App Forms: • Develop the canvas forms in power apps and then using data table control load the list data as per need.
DEVELOP POWER APP FORMS • Embed these forms in SharePoint modern pages using Embed featured. • These power apps are embedded inside the <iframe> tag on a page. • Now we have two different modern pages each having power app forms.
PASS PARAMETER • Pass the parameter on click on any item from one page to another using the Navigate function. • Navigate(ScreenToNavigate, ScreenTransition.Fade, { Argument1: 04 , Argument2: SomeText }) • On another page you need to collect/catch this parameter value, you can get that by different functions.
PASS PARAMETER • Param(“ParamName”) functions, or by direct assigning values. • LookUp(‘***** Slips’, ‘Case Title’.Value = Param(“[ParamName]”)) • Filter(‘Case ****’,CaseTitle.Value=SelectParamName.SelectedText.Value) • Now the problem is in another screen/page parameter value cannot be read as the forms are embedded in the frame. This has been raised in Microsoft support and MS had considered this as a limitation.
CREATED DIFFERENT SCREENS IN ONE POWER APP FORMS • The solution in this scenario is to create multiple screens in the same Power App form. • Then embed this form on the SharePoint modern page. • Above functions remain the same but now as there is no frame it reads the parameter and gets the correct value.
Headquarters: Blue Flame Labs Private Limited,5th Floor, Pride Purple Coronet, Baner Road, Baner, Pune (MH) – 411045 Email ID -fireitup@theblueflamelabs.com Mobile No - IN: +91 020 48610014 UK Regional Office: #5 Coombe Wood Hill, CR8 1JP UK: +44 7418-337694 USA Regional Office: 132 E 13065 S# 175 Draper, UT 84020 US: +1 (626) 427-8157 Willing to Explore New Technologies Together for Mutual Growth