Skip to main content
Ian Grover preguntó en #Flow

I have a screen flow that is displaying a top rep (the rep that has created the most opportunities in the past 7 days).  Based on those criteria, I want to display their profile picture alongside their name.  I'm having trouble doing so with displaytext/image components.  I'm sure there is a way to do this I'm not thinking of.

 

Any ideas?

 @Salesforce Flow Automation 

6 respuestas
  1. 8 ago 2024, 18:45

    Alright, Ian! Here's that video of the solution!

     

    https://www.youtube.com/watch?v=8S7IE2NmAyU

     

    Jump to 44:35 to get right to the answer. And here's the gist:

     

    - Create your flow

    - Add a Screen to the Flow to Display Text

    - In the Edit Screen, right click and "Inspect" the Rich Text Editor

    - Find the HTML that corresponds to the Rich Text Editor

    - Simply insert and image tag where the source is equal to {Your 'GET' for the User Record}.MediumPhotoUrl]

    - (and you can use additional fields as well, if you want to use their name for the alt text, for example)!

     

    Here's a sample of that snippet to copy and paste!

     

    <img src="{!Get_User.MediumPhotoUrl}" alt="{!Get_User.FirstName}" />

0/9000