Happy New Year to the whole Community! May 2019 bring its lot of personal & professional achievements!
I've an issue I've been struggling with for a few weeks: when it comes to displaying the picture of the different users in the Gallery, the pictures are shown correctly in the Editor but on the smartphones there is only an empty box where the picture shall appear, no picture and no error reported...
I'm using a ThisItem.'Created By'.Picture to get the picture of the different users in the Gallery. I also tried using the Office365Users UserPictureV2 but I get errors in this case while everything's working just fine in the Editor view with the ThisItem.'Created By'.Picture.
Any hint on this issue?
Thanks for your support!
Solved! Go to Solution.
How about the function UserPhoto?
If this also put same error, Could you please share a bit more about the Gallery control within your app?
Just Info, I assumed that the data source is some SharePoint List, and I dont get any errors using UserPhotoV2 as attached.
Thanks for the quick reply. I've been using both UserPhoto and UserPhoto2 functions (I got some guidelines on various PA forums accordingly) but I got in both cases the same error.
I indeed use a "standard" Gallery generated from a SharePoint List to display few data on each item, including the Creator of each item as a list in my gallery. There is nothing more on this very screen, except a variable defined on 'onvisible' that I use for potential filters.
But really the weirdest thing about it is that in the editor view in PA I'm getting all the pictures (even the blank ones) just nice in the gallery, it's only when it comes to displaying the gallery on a phone that the issue arises. Funny fact though: while lauching the app from my computer (not through the editor, but "open" it from my browser) I can see the pictures of the users that were displayed in my editor view just before, but not the other users - I guess it about the cache.
Continue your learning in our online communities.
Stay Up-to-Date by following PowerApps on Twitter
Let's thank our top community contributors
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round
Features releasing from April 2019 through September 2019!