function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VPM 1VPM 1 

I have an issue with a Image added in Display Text of a flow.

I have created a flow and added a logo image in the display text component of the flow. This flow is added on a community and using Embedded Services the community is embedded on an external Site. 

Issue is Guest users are not able to view the Logo image and it shows broken. I researched on the issue and found out that image added in a flow is saved as chatter file in Salesforce. Chatter file does not have any option to give access to Guest user. 

I also tried a workaround. I added the logo image as a Static resource and reference the static resource from the flow. It works fine when I run the flow but when I activate the flow and check on the external website the flow gives an error "Error element StaticResource (FlowRecordLookup).
This error occurred when the flow tried to look up records: sObject type 'StaticResource' is not supported.. You can look up ExceptionCode values in the SOAP API Developer Guide (https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.salesforce.com%2Fdocs%2Fatlas.en-us.api.meta%2Fapi%2Fsforce_api_calls_concepts_core_data_objects.htm%23&data=02%7C01%7Cvikrant.panchmukhe%40volvocars.com%7Cc1c68ed287c44113df6308d81e512be8%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C637292681261554579&sdata=A%2B76kq63UEnJbHrQUL%2B3E7%2BPDHN9c2P2k%2BaRxDgfoqI%3D&reserved=0" originalsrc="https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm#" shash="M6huuBxsF0jyxjxWD7h9CUPEPZztP4y5zdEpJo6982dwWU7LBLlkzYzhrWJDYI8LUa+4xS87nkO0cOqaRhhc+eN4BvOdAizsuhwesu3HzCEmPI3/RUi005Erea3EiGFlTisFyQbtJtxh4KEipjy7Ftlo9n6JlBpBf1dHqtAZn9s=" style="color:blue; text-decoration:underline)." 
Any help will be greatly appreciated
Best Answer chosen by VPM 1
VPM 1VPM 1
Its Ok. I resolved this issue. You can close the case

All Answers

Ugur KayaUgur Kaya
Hi, did you try uploading the file to community assets?

Community Setup -> Administration -> Pages -> Go to Site.com Studio -> Upload the image
 
SwethaSwetha (Salesforce Developers) 
HI,
Your ask seems same as that of https://developer.salesforce.com/forums/ForumsMain?id=9062I000000QxXcQAK
Note: The image in the richtext editor is shown as Beta feature and might not work as expected.

Would adding the image as "display image" in the flow seem feasible? 

I will keep this thread updated with my findings.Thanks
SwethaSwetha (Salesforce Developers) 
HI ,
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.

Thank you
Swetha Maddali
Senior Success Engineer (Tier 2)
Salesforce.com
VPM 1VPM 1
Its Ok. I resolved this issue. You can close the case
This was selected as the best answer