Emera
Emera

Reputation: 21

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

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

Upvotes: 2

Views: 791

Answers (1)

Ganesh Sanap - MVP
Ganesh Sanap - MVP

Reputation: 2228

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

Upvotes: 1

Related Questions