Display List View on my company's website - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Nashlyn LloydNashlyn Lloyd 

Display List View on my company's website

Hi All!

I am trying to find a way to display an account list view publicly on our website. We are hoping to display it as a business directory for anyone who visits our website. It is an account list view filtered by a check box. Is there a way to do this?
Best Answer chosen by Nashlyn Lloyd
Amnon KruviAmnon Kruvi
Hi Nashlyn, 

Assuming your website is just a standard one, not built on Salesforce, it would be possible but difficult. 

You need to create a (public) community, then make a completely blank page using an Aura component as a template, and place a record list component in it. On your website, you can use an iframe to expose this community page. 

Note that although you can set a default, users can change the list view to anyone that is shared with everyone. If you want something constant, you'd have to get a developer to build a custom component. 

Alternatively, your website could retrieve account data through the API, which is something your normal Web developer could do. 

All Answers

Amnon KruviAmnon Kruvi
Hi Nashlyn, 

Assuming your website is just a standard one, not built on Salesforce, it would be possible but difficult. 

You need to create a (public) community, then make a completely blank page using an Aura component as a template, and place a record list component in it. On your website, you can use an iframe to expose this community page. 

Note that although you can set a default, users can change the list view to anyone that is shared with everyone. If you want something constant, you'd have to get a developer to build a custom component. 

Alternatively, your website could retrieve account data through the API, which is something your normal Web developer could do. 
This was selected as the best answer
Moustafa IshakMoustafa Ishak
Could you enable site guest user and give a view access to accounts object