Gravatar for

Question by, Jun 6, 2018 9:15 PM

Anonymous search not getting Salesforce content

I have created an API key to be used for search by Anonymous User. When I made the search as a Anonymous user, I'm getting results but not Salesforce Articles because security for the source is set by Identity provider Salesforce. Other than changing the security model, is there any way to be able to access this source on public search?



Gravatar for

Comment by gminero, Jun 6, 2018 9:26 PM

what exactly do you mean by "Salesforce Articles" is it a knowledge source? usually, we do not support security on knowledge.

Gravatar for

Comment by Ben Gilmore, Jun 6, 2018 11:57 PM

Is there a need for it not be set as a public source? Does it have articles in their that anonymous users aren't meant to see?

1 Reply
Gravatar for

Answer by gminero, Jun 7, 2018 2:02 PM

Ideally, you would have to leverage Knowledge for public facing content, since the URI of the document will redirect users towards the record view.

Using custom objects to display content publicly is a bad idea, since users will be prompted to login upon clicking on the Link, since they are redirected towards the record view.

So, even if you make the source public, users will have to login afterwards, leading to a bad user experience.

Is there any specific reason why you are not using Knowlege to display this data?

Gravatar for

Comment by, Jun 7, 2018 4:40 PM

According to our survey, many of our customers logging into our community and not searching anything and logged off.

So our business owners want to expose public content which shows few details of the articles on the results without logging into our community.

They should log in when they want to look at further information.

Ask a question