cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jlivio
Regular Visitor

OnVisible Apply Record Values from Gallery

Hi everyone,

 

Struggling hard with this.

 

I Have a page with some Text and ComboBox's controls, I'm trying to populate this controls from the Record selected in the Gallery in another page.

 

Ok I have the Record.

 

 

 

Navigate(GFMV_Visualizacao;ScreenTransition.None; {listafaturasmaterias_selected: GalFatutasListaInicial.Selected})

 

 

 

The problem is the OnVisible don't populate me any controls, for instance

 

OnVisible

 

 

 

TxtMytextBox.Text = listafaturasmaterias_selected.SomeField

 

 

 

This doesn't work for any control, besides if i Put TxtMyText.Text = "1" same behavior. If I Put OnVisible:

 

 

 

Notify(listafaturasmaterias_selected.SomeField, Sucess, 2000)

 

 

 

It Works

 

How can I Fill my Form (Page) with this values?, any clues? Bug? Bad user procedure?

 

Thanks,

Joao Livio

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @jlivio ,

You do not need to pass a Variable between screens - the Default of the Text box can simply be

galFatutasListaInicial.Selected.SomeField

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User III
Super User III

Hi @jlivio ,

You do not need to pass a Variable between screens - the Default of the Text box can simply be

galFatutasListaInicial.Selected.SomeField

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

In did, I don't, thank you, solved

I'm using for ComboBoxes

ForAll(GalFatutasListaInicial.AllItems; MyField)

 

Regards 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (57,406)