cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Humanity
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
rubin_boer
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.

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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,385)