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
Super User

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
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,185)