Passing Parameter to another screen and show read only in another screen in PowerApps

40 views Asked by At

I want passing parameter to another screen, clicking submit button while combo box data are selected and the combo box data will show read only in another screen in PowerApps

I have tried navigating one screen to another screen

1

There are 1 answers

6
Ganesh Sanap - MVP On

I am providing example solution below which should help you to resolve your issue. Make sure to change the control names and column names as per your application:

First Screen:

I have a combo box and a button control on it.

Formula on OnSelect of button control:

Navigate(Screen2, ScreenTransition.None, {lvComboBoxItems: ComboBox1.SelectedItems});

enter image description here

Second Screen:

I have a single "Label" control on this screen and Text property of label control is set to:

With(
    {
        vTxt: Concat(
            lvComboBoxItems,
            Value1 & ", "
        )
    },
    Left(
        vTxt,
        Len(vTxt) - 2
    )
)

Where Value1 is the name of column from data source added to combo box control, you can replace it with your column name.

Output:

enter image description here