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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,061)