web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / textinput in teams usi...
Power Apps
Answered

textinput in teams using gallery

(0) ShareShare
ReportReport
Posted on by 47

I am having trouble to read a test value from Teams using powerapps. 

 

I cannot find the textinput.text property .

I am using Patch to add records to datatable on gallery . 

 

Patch(MDM_Contents,

Defaults(MDM_Contents),

{
ModuleName:txtModule.text,
Description:txtDescription.Value,
Content_Type:txtContent,
Contact:txtContact
}
);

Thanks

ga,

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Ga_2004 ,

     

    Could you please share more details about your scenario? Could you provide the layout of the app, including the gallery along with other controls? Where do you put the submit button, in or out of the gallery? 

     

    Screenshots would help a lot understand your situation.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Ga_2004 Profile Picture
    47 on at

    Hi Jeff, 

    I have had used a Vertical Blank Gallery , I apparently don't have the screenshot as i discarded and used the default layout of the canvas to get around the problem to add records. 

     

    I was trying to the Patch update on a Button to update the records. 

     

    However the fact , I still do not know how to read the text value from the textbox control. 

     

    If I have two text input control , I want to read one text from another also I did not manage to read it. 

     

    Can you provide an example how this can be achieved in teams powerapps. 

    Thanks .

    ga, 

     

     

     

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Ga_2004 ,

     

    If I understand correctly, you would like to use a button outside a Gallery to Patch all items of the Gallery into the data table.

     

    So, you will need to use a ForAll function since gallery items are in a table then what you want to do is patch items into the data table one by one. The Formula in OnSelect of the button outside the Gallery would be:

    ForAll(Gallery.AllItems, Patch(MDM_Contents, Defaults(MDM_Contents),{ModuleName:txtModule.Value,
    Description:txtDescription.Value,Content_Type:txtContent.Value,Contact:txtContact.Value}))

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Ga_2004 Profile Picture
    47 on at

    Thanks Jeff, 

    I will try this out. 

    I have an issue with the combo box. I have logged it if possible could you help with it. 

    ga, 

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard