cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

ThisItem does not connect with data

Hi 🙂

 

I'm having trouble getting around this problem, I was hoping you could help me.

 

I am trying to set ThisItem as "Aprovação", as I defined in my data source (excel table saved in One Drive):

 

Capturar1.PNG

 

It already works in other icons, but when I added a New Gallery, none of the above fields seems available. I get a message saying the name isn't valid:

 

Capturar2.png

 

Does anyone know how to fix this?

 

Thanks in advance,

 

Sílvia

 

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous 

The Items property of the gallery is where the myDatasourceName should go.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

6 REPLIES 6
Super User III
Super User III

Insert a gallery and on th items of the gallery put: YourDatasouceName.

Then inside the gallery choose any of the textboxes and put: ThisItem.Aprovação

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Super User III
Super User III

@Anonymous 

Can you please try to REFRESH the datasource.  Go to the left-side menu, click on the datasource, then REFRESH.  If this does not work close & re-open the app.

 

Are you able to share a screenshot?  What control type are you putting this code in? (e.g. label, text input, etc.)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

Anonymous
Not applicable

Thank you for your help.

 

Where exactly do I put MyDataSourceName?

 

Thanks

Anonymous
Not applicable

Thank you for you answer, but I have already tried refreshing and closing/reopening the app 😞

 

I am using a label.

 

I'm sorry I can't explain the situation very well, I only started working on PowerApps a week ago.

 

Thank you so much!

@Anonymous 

The Items property of the gallery is where the myDatasourceName should go.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Select the Gallery, then go to the items property (see attached)

 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (59,906)