I'm doing a simple applicaton using powerapps. I'm connecting to a Dynamics 365 instance, and I display several informations from the account entity, including the image. However, the image (entityimage field) isn't displaying anything in my app.
Any ideas ?
I am having similar problem - the entitytimage doesn't display at first, and I have to refresh the list for a few times to get the entityimage to show up:
Before & After
Does anyone know how to have it displayed consistently?
Couls you please provide the session ID and version number so we can track this issue?
You can get that information by clicking on "Accounts" and then on "Session Details" under the "Diagnostics".
I have no solution to this bug, but I do however have a workaround that I use on my apps. This is assuming that you are using powerapps alongside Dynamics365.
1. Select your DataForm - Properties - Data - <Entity>, add the primary key of the entity (GUID), click okay.
2. Select the image element, NOT it's datacard, and add the following code:
Concatenate(Concatenate("https://ORGANISATION.dynamics.com/image/download.aspx?attribute=entityimage&entity=YOUR_ENTITY&id=%7b", GUID_DATACARD.Default) , "%7d")
(Please note: You need to modify the code above to point to your dynamics, and the correct entity and GUID Datacard, for example my entity is "new_complaint". )
A good way to find the URL to concatonate is to select an entity image from within your dynamics, and copy the entity_image url.
3. Because GUID's are not user friendly, you could select the TextLabel inside the GUID Datacard - Select Color - Select White. This will render it invisible but still usble in your code.
I am by no means an expert at this, but I just tought I'd share this workaround with you guys - hope it helps!
Hi Ciarán, thanks for the workaround. As long as PowerApps is running in a browser this seems to work.
However, while running the app in the Windows application, also with your workaround, the images still won't show up in my tests.
Is this something you also notices and maybe solved?
I find it works intermittently, definitly not reliably. I was kind of hoping some PowerApps/CRM/XRM guru would appear on this thread and save the day!
When I'm working with PowerApps next I'll have experiment with other things, and if I find something worthwhile I'll share it here!
For the record, I've observed the same issue in Power BI Desktop (November 2018 edition), where the D365 entity images don't load, but they do once the report is published to the Power BI service. It looks like D365 is preventing these images to be loaded in some contexts such as desktop apps.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.