{"id":33357,"date":"2022-12-15T15:54:05","date_gmt":"2022-12-15T10:24:05","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=33357"},"modified":"2022-12-19T12:04:15","modified_gmt":"2022-12-19T06:34:15","slug":"displaying-entity-image-in-ssrs-report-using-power-automate","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2022\/12\/displaying-entity-image-in-ssrs-report-using-power-automate\/","title":{"rendered":"Displaying entity image in SSRS report using Power Automate"},"content":{"rendered":"<p>In Dynamics 365 CRM, while working on one of our requirements we came across a scenario where we needed to display an Account entity image on an SSRS report. But, due to SSRS limitations, the report did not allow the usage of the OOB \u201centityimage\u201d attribute in the dataset.<\/p>\n<p>As a workaround we\u2019ve created a Multiline text field and mapped the \u201centityimage\u201d value (i.e. base64 string value) into that, so we can use that Multiline text field attribute in our dataset in order to display the entity image on the report. Also, to store the actual Entity Image in the custom field we have used the Power Automate Flow<strong>.<\/strong><\/p>\n<p>In this blog, we will go through the steps that need to be performed in order to achieve the requirement as follows:<\/p>\n<p><strong>1<\/strong>. Create a custom Multiline text field on the <strong>Account<\/strong> entity<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33370\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/1Power-Automate.jpeg\" alt=\"Power Automate\" width=\"649\" height=\"480\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/1Power-Automate.jpeg 649w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/1Power-Automate-300x222.jpeg 300w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/p>\n<p><strong>2<\/strong>. Navigate to <a href=\"https:\/\/admin.powerplatform.microsoft.com\/\" target=\"_blank\" rel=\"noopener\">Power Platform Admin Center<\/a> -&gt; <strong>Open your solution<\/strong> -&gt; <strong>New<\/strong> -&gt; <strong>Automation<\/strong> -&gt; <strong>Cloud Flow<\/strong> -&gt; <strong>Automated<\/strong> to create a Power Automate Flow<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33369\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/2Power-Automate.jpeg\" alt=\"Power Automate\" width=\"562\" height=\"299\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/2Power-Automate.jpeg 562w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/2Power-Automate-300x160.jpeg 300w\" sizes=\"(max-width: 562px) 100vw, 562px\" \/><\/p>\n<p><strong>3<\/strong>. Now add the Microsoft Dataverse Trigger for when a row is added, modified, or deleted and set the change type to Modified and set the Select Columns value to \u201centityimage\u201d<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33368\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/3Power-Automate.jpeg\" alt=\"Power Automate\" width=\"907\" height=\"304\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/3Power-Automate.jpeg 907w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/3Power-Automate-300x101.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/3Power-Automate-768x257.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/3Power-Automate-660x221.jpeg 660w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/p>\n<p><strong>4<\/strong>. After that add another step (\u201cGet row by ID\u201d) in order to retrieve the account entity image and only retrieve the Entity Image field<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33367\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/4Power-Automate.jpeg\" alt=\"Power Automate\" width=\"906\" height=\"247\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/4Power-Automate.jpeg 906w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/4Power-Automate-300x82.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/4Power-Automate-768x209.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/4Power-Automate-660x180.jpeg 660w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/p>\n<p><strong>5<\/strong>. Now add the condition to check if the Default image (i.e., entity image) contains data<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33366\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/5Power-Automate.jpeg\" alt=\"Power Automate\" width=\"912\" height=\"291\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/5Power-Automate.jpeg 912w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/5Power-Automate-300x96.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/5Power-Automate-768x245.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/5Power-Automate-660x211.jpeg 660w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><\/p>\n<p><strong>6<\/strong>. Then under the \u201cYES\u201d condition add the action to retrieve the records and update them<\/p>\n<p><strong>7<\/strong>. In the Table name section, select the Entity\/Table name on which flow needs to be run (Executed)<\/p>\n<p>Row Id is a unique identifier of the Entity\/Table<\/p>\n<p>The select columns option is for filtering columns (i.e., to retrieve specified columns)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33371\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/6Power-Automate.png\" alt=\"Power Automate\" width=\"960\" height=\"386\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/6Power-Automate.png 960w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/6Power-Automate-300x121.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/6Power-Automate-768x309.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/6Power-Automate-660x265.png 660w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/p>\n<p>In the update step we\u2019ve set the EntityImage value to the Multiline text field (which we had created in Step 1)<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33364\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/7Power-Automate.jpeg\" alt=\"Power Automate\" width=\"910\" height=\"246\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/7Power-Automate.jpeg 910w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/7Power-Automate-300x81.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/7Power-Automate-768x208.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/7Power-Automate-660x178.jpeg 660w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33363\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/8Power-Automate.jpeg\" alt=\"Power Automate\" width=\"898\" height=\"61\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/8Power-Automate.jpeg 898w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/8Power-Automate-300x20.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/8Power-Automate-768x52.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/8Power-Automate-660x45.jpeg 660w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/p>\n<p><strong>8<\/strong>. Under the \u201cNO\u2019\u2019 condition we\u2019ve set the Multiline text field (which we had created in the 1) to Null<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33362\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/9Power-Automate.jpeg\" alt=\"Power Automate\" width=\"961\" height=\"354\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/9Power-Automate.jpeg 961w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/9Power-Automate-300x111.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/9Power-Automate-768x283.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/9Power-Automate-660x243.jpeg 660w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33361\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/10Power-Automate.jpeg\" alt=\"Power Automate\" width=\"874\" height=\"82\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/10Power-Automate.jpeg 874w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/10Power-Automate-300x28.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/10Power-Automate-768x72.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/10Power-Automate-660x62.jpeg 660w\" sizes=\"(max-width: 874px) 100vw, 874px\" \/><\/p>\n<p><strong>9<\/strong>. Now in the SSRS report we\u2019ve added our Multiline text field to our dataset fetchxml and mapped that Multiline text field value to our image<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33360\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/11Power-Automate.jpeg\" alt=\"Power Automate\" width=\"823\" height=\"810\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/11Power-Automate.jpeg 823w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/11Power-Automate-300x295.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/11Power-Automate-768x756.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/11Power-Automate-660x650.jpeg 660w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33372\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate.png\" alt=\"Power Automate\" width=\"1032\" height=\"392\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate.png 1032w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate-300x114.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate-1024x389.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate-768x292.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/12Power-Automate-660x251.png 660w\" sizes=\"(max-width: 1032px) 100vw, 1032px\" \/><\/p>\n<p>As a result, we are able to see the image on the report in the following manner-<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33358\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate.jpeg\" alt=\"Power Automate\" width=\"1297\" height=\"418\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate.jpeg 1297w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate-300x97.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate-1024x330.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate-768x248.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/13Power-Automate-660x213.jpeg 660w\" sizes=\"(max-width: 1297px) 100vw, 1297px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Thus, in this way, we can display the Entity Image for any of the entities on the SSRS report in Dynamics 365<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/subscription-management-recurring-billing-dynamics-365-crm\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-33373\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/Subscription-and-Recurring-Billing-Management.png\" alt=\"\" width=\"828\" height=\"207\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/Subscription-and-Recurring-Billing-Management.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/Subscription-and-Recurring-Billing-Management-300x75.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/Subscription-and-Recurring-Billing-Management-768x192.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/12\/Subscription-and-Recurring-Billing-Management-660x165.png 660w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Dynamics 365 CRM, while working on one of our requirements we came across a scenario where we needed to display an Account entity image on an SSRS report. But, due to SSRS limitations, the report did not allow the usage of the OOB \u201centityimage\u201d attribute in the dataset. As a workaround we\u2019ve created a\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2022\/12\/displaying-entity-image-in-ssrs-report-using-power-automate\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[38,58],"tags":[1975,1666],"class_list":["post-33357","post","type-post","status-publish","format-standard","hentry","category-microsoft-powerapps","category-ssrs-reports","tag-power-automate","tag-ssrs-reports"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/33357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=33357"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/33357\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=33357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=33357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=33357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}