cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YamiteKudasai
Helper I
Helper I

[HELP] - Sharepoint to Textbox

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?

1 ACCEPTED SOLUTION

Accepted Solutions
C-Papa
Super User
Super User

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

View solution in original post

1 REPLY 1
C-Papa
Super User
Super User

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

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (971)