Power apps Sharepoint list customized form Show the data based on paramenter filtered values in View/Edit forms

In power apps SharePointform1 is the default Form created for SP List customization.

In items property, If we are having a customization with query string paramenter ID, based on Item ID selected item should appear the list data in view/edit form.

Code below

items property: From query string param, selected data should appear in edit form.

If(

    Param("Mode") = "New",

    SharePointIntegration.Selected,

    If(

        IsBlank(Param("ID")),

        SharePointIntegration.Selected,

        LookUp(

            'Golden Hour Reports',

            ID = Value(Param("ID"))

        )

    )

)

Comments