cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jharville
Helper V
Helper V

"This formula uses scope, which is not presently supported for evaluation" when using ThisItem.Comments

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? 

 

promo1.PNGpromo2.PNG

 

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.


Thank you!!

 

 

 

 

5 REPLIES 5
FabianAckeret
Solution Sage
Solution Sage

Hi @jharville 

 

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.

 

Kind regards,


Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.

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.

 Response 1.PNG

Here are the DataSource and Item property of my Form. (varRecord is to save all of the items of the submission of the form)

Response 2.PNGResponse 3.PNG

Also, here is a look of my columns in my SharePoint list, which receive the patch from my code perfectly fine.

Response 4.PNG

try disable "Explicit Column Selection" in Canvas App. In edit mode, File -> Settings 

I really do appreciate the response, but unfortunately, it doesn't work.

Hi @jharville 

 

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.

 

Kind regards


Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,498)