To pass parameter in App URL, you need to find App URL first as below:
Pass Parameter in PowerApp URL:
Passing parameters to App URL is as simple as passing parameters to any HTTP URL using (?) question mark. You can pass multiple attributes in App URL by separating parameters using (&) ampersand.
I have Company Detail screen which displays company name, phone, logo and related products. In case, you want to pass company name as parameter in App URL, update your App Web Link to include company name parameter as below:
Consume Parameter in PowerApp:
In Company Detail screen, I have Detail Form which displays company details based on selected company from gallery in Browse screen. Also, I have list of products shown for selected company. To display company details and related products based on “CompanyName” parameter we need to update Items property of Detail Form and Products Gallery as below.
LookUp(Companies,cr2a5_companyname = Coalesce( Param(“CompanyName”) ,”Microsoft”))
Filter(‘Company Products’, cr2a5_Company1.cr2a5_companyname=Coalesce(Param(“CompanyName”),”Microsoft”))
In my next blog, we will see how to embed PowerApp in Dynamics 365 entity form as web resource and pass RecordID as parameter to open PowerApp in context of entity record.