cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
shimauk
Level: Powered On

Collecting gallery text input values into a collection

Hi,

 

I'd like to collect all gallery text field values into a collection using : 

ClearCollect(collection, Gallery1.Allitems.Textinput1)

which will collect a table for every single gallery item ( eg. Texinput1.Text, Textinput1.AccesibleLabel, Textiinput1.Hint). I only want to collect text and writing 

ClearCollect(collection, Gallery1.Allitems.Textinput1.Text) 

returns an error however 

 ClearCollect(collection, Gallery1.Selected.Textinput1.Text)

 is somehow ok.

 

Thank you for all your comments.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Collecting gallery text input values into a collection

Hi @shimauk,

 

If you only want to collect one text field from SharePoint list, you do not need to collect it from Gallery, if your text column name is Column1, for example, then you could just use below formula to manage the collection:

ClearCollect(collection, ListName.Column1)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Collecting gallery text input values into a collection

Hi @shimauk,

 

If you only want to collect one text field from SharePoint list, you do not need to collect it from Gallery, if your text column name is Column1, for example, then you could just use below formula to manage the collection:

ClearCollect(collection, ListName.Column1)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Tomorrow, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 288 members 5,069 guests
Please welcome our newest community members: