cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Set Global to Gallery Chosen Record

Canvas App

Gallery For Display

Individual Text Inputs

 

I successfully use this to set global variables to be particular records from a drop down.

Set(  BillChoice,  'Dropdown'.Selected  ) then I can call on the record using BillChoice.ColumnName

 

I would like to do something similar using the Gallery seen below.  How do I Set ShopChoice to be the record? 

 

Example.PNG

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Your formula seems fine. But check if 'Form_To_Fill ' is a FORM or SCREEN. 

Navigation should be a screen name.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

4 REPLIES 4
Super User
Super User

hi there

 

try Set(myRecord,thisitem.recordYouWish) e.g. Set(myRecord, thisitem.user) where user is a record

Your formula seems fine. But check if 'Form_To_Fill ' is a FORM or SCREEN. 

Navigation should be a screen name.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Thanks @rubin_boer,

 

But @eka24 was right on this one.  The formula was correct, I ended up having to clear caches & IP records...  it wasn't my code, it was an insanely long delay that was not allowing it to recognize the code.


Oh, and Rubin, if I am not mistaken when people speak or records here, they mean the entire row in a database.  It took me awhile to get that, so I'm pointing it out since you did what I used to do 🙂  

@Humanity 👍

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,067)