Notifications
Announcements
Hi guys,
This is my situation, i have this gallery where I pull some data from a sharepoint list but then I have a custom textinput inside the gallery where the user have to type some info that I'm asking them
How can I create a collection only with this info? I should be something like this.
Thanks
Collection
Gallery
Create collection means, do you want to create local collection if so what all columns?
Or do you want to write the text ip column in sharepoint list?
If so use patch function
Hi @CP0822 ,
Do you want to create a collection with all entered values in Textinput control?
If yes, you can try this method. See my example, set OnChange property of first Textinput control to:
ClearCollect(collection1,Gallery1.AllItems.TextInput1)
Best regards,
Allen
Hi Allen,
I tried your solution but I'm getting the collection like this.
How can I get only the value in the textinput without creating a table record?
Hi,
I want to create a local collection and then when all the text inputs are filled patch this info in mi SP list.
Any ideas?
You can try this formula:
Collect(collection1,TextInput1.Text)
You can also save the Title of each record:
Collect(collection1,{Title:ThisItem.Title,Value:TextInput1.Text})
Hi @v-albai-msft
Where do you suggest I should set this formula? In the "On change" of the TextInput?
Many thanks.
Yes, just put the code into the OnChange property of the first TextInput control.
Then based on your requirement, clear this collection after patch into SP list.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268