You need to sign in to do that
Don't have an account?
Alex Yorio
Use Display Text Screen Component to Display Image on Community
Hi,
I have a flow with several elements that use the Display Text screen component to pair text with an image that I have inserted.
When I look at these Flows in my org, I see the images properly displayed. When I log in to my Salesforce community, I see them as well; however, when a user with our community profile logs in, they do not see the images.
Is there a permission required for these images to display to a community user?
Here is an example of what I see:
Here is what someone with the community profile sees:
I have a flow with several elements that use the Display Text screen component to pair text with an image that I have inserted.
When I look at these Flows in my org, I see the images properly displayed. When I log in to my Salesforce community, I see them as well; however, when a user with our community profile logs in, they do not see the images.
Is there a permission required for these images to display to a community user?
Here is an example of what I see:
Here is what someone with the community profile sees:
I have checked with the Salesforce product development team and got a confirmation that the issue you are facing is currently a bug on which the team is actively working. I am coordinating internally to have a known issue created for the same.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Thank you
Swetha Maddali
Senior Success Engineer (Tier 2)
Salesforce.com
All Answers
The reason this happens is that your Community has a different domain than your salesforce instance. For example
Your instance: na12.salesforce.com
Your community: mycommunity.com/support
For these images to be available, the home page component needs to use the relative URL, including the name of your community page. For example
<img src="/support/resource/13237000/PortalLogo> - Replace "/support/" with the name of your community page.
Related: https://help.salesforce.com/articleView?id=000336442&type=1&mode=1
When I add these images via Display Text in flow, I am not required to create them as static resources. Once I click the image icon in the screenshot below, it takes me directly to my computer to upload my selected image.
As per https://help.salesforce.com/articleView?id=networks_files_visibility_and_sharing.htm&type=5 can you check if its an issue with file visibility based on the user type of the community.
Related: https://developer.salesforce.com/forums/?id=9060G000000I60QQAS
I have confirmed that the image I add via the Display Text screen component is indeed automatically saved to Files.
Since I cannot add a standard community user to a public group, I created a separate library, shared the file to that library and shared access to the library with a test user, so this person would have access to see the file.
When I log in to my community as that test user to view the flow, the image is still broken, so that does not seem to have fixed my issue.
I was able to replicate that "display text" containing the image added via rich text editor is not shown for guest users but the "display image" can be shown.
Link to the community: https://android123-developer-edition.gus.force.com/CustomerService/s/
Would adding the image as "display image" in the flow, feasible as a workaround for you while I troubleshoot this further.
Note: The image in the richtext editor is shown as Beta feature and might not work as expected.
See image :
Thanks
I have checked with the Salesforce product development team and got a confirmation that the issue you are facing is currently a bug on which the team is actively working. I am coordinating internally to have a known issue created for the same.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Thank you
Swetha Maddali
Senior Success Engineer (Tier 2)
Salesforce.com
I also found that using a Constant variable to display images in the Display Text screen component does work for community users. Linking the steps I followed here (https://explorationsintosalesforce.wordpress.com/2015/06/23/displaying-images-in-visual-flow/) in case anyone has the same problem.
Can anybody help me, if there is any workaround for this.
I have added images via Display Text in screenflow, I am not required to create them as static resources. Once I click the image icon it takes me directly to my computer to upload my selected image. As my user able to see the text and image both in different enviroment, but some of the user only see the icon of a broken image instead and text.
Here is what I did:
I also found that using a Constant variable to display images in the Display Text screen component does work for community users. Linking the steps I followed here (https://explorationsintosalesforce.wordpress.com/2015/06/23/displaying-images-in-visual-flow/) in case anyone has the same problem.