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 / [HELP] - Sharepoint to...
Power Apps
Answered

[HELP] - Sharepoint to Textbox

(0) ShareShare
ReportReport
Posted on by 195

Hello Everyone, 

Good day!

Help needed:

I have a textbox when i click the post comment button the input will be save in sharepoint_list named comments.

 

YamiteKudasai_0-1632319139902.png

 

 

What I want to do: 
- I want to display the gallery selected item in the textbox.

What I tried but doesn't work:

textbox.text = gallery.selected.comment 

How to do this?

Categories:
  • Verified answer
    C-Papa Profile Picture
    1,836 on at

    Hi, change the OnSelect property of the button within the gallery to

    Set(var_selected,ThisItem)

    then change the textinput.default to var_selected.Comment

     

    i tested what you have done above and it works ok for me, this means that either the gallery is on a different screen and it is resetting of something is causing the gallery selection to be lost. The above will set is as a vairable so it will remain until another item is selected

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard