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

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,800)