I am building a dynamic approval panel where a user inputs text for a comment box called "popOptionalComments." When I try to show the comments that the user inputted, in my Gallery, I am met with This formula uses scope, which is not presently supported for evaluation. Does anyone know how to fix this issue?
When I put popOptionalComments.text, it'll show the same user input for all my records, which is not what I want...that's why I'm using ThisItem.Comments to get it to show the input for that record only.
Could you let me know what source you're using? And more importantly, could you show me a possible record of said source? Meaning, what columns do you have?
Also, what is the DataSource and Items property of your Form?
The approach with ThisItem.Comments was absolutely correct. So the issue needs to be somewhere else.
Thank you for the response. My Gallery to show the display for my Approvals/Rejects is called "Gallery 2." My edit form is called "EditForm1." Notice that they are separate entities on the left-hand Tree View column.
Here are the DataSource and Item property of my Form. (varRecord is to save all of the items of the submission of the form)
Also, here is a look of my columns in my SharePoint list, which receive the patch from my code perfectly fine.
Sorry for the late response. I was quite busy these days.
Since your gallery is showing the record of the form you're displaying, you basically have two elements showing the same thing.
Is there a reason you have it this way? You could simply hide/unhide the comments/approval buttons in your EditForm as well.
Either way, this does look correct. Where do you set varRecord? Perhaps the error is somewhere with this variable.
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.