Search not appearing on public portal

tcorniels
Tera Contributor

We are creating a public-facing portal that we do not want users to have to have an account to view anything on.  We have been able to get the main portal page and links working, but we cannot get search to work.  We have confirmed that the knowledge base, main page, search widget, etc. are all set to public and have no roles required for viewing.  The actual search widget title appears, but the field to enter search criteria into does not.  Not sure what else we should be checking.

1 ACCEPTED SOLUTION

Thanks, you will see that the widget invokes another widget in this line of code:

data.typeAheadSearch = $sp.getWidget('typeahead-search', options.typeahead_search);

When I checked my PDI, the typeahed-search portal widget was not set to public.

JamesChun_0-1713468829107.png

 

That's probably why non-authenticated users cannot see the search box.

 

Cheers

View solution in original post

3 REPLIES 3

James Chun
Kilo Patron

Hey @tcorniels,

 

Do you mind sharing the screenshot of the issue? I am guessing the search box is missing but wanted to make sure.

Can you also share which widget you are using?

Does it work for non-public (i.e. internal employee) users?

 

Cheers

Here is the main public portal page.  If a user logs in they get the search box.

 

 

 

public portal main.JPG

 

Attached is the code from the widget:

 

Thanks, you will see that the widget invokes another widget in this line of code:

data.typeAheadSearch = $sp.getWidget('typeahead-search', options.typeahead_search);

When I checked my PDI, the typeahed-search portal widget was not set to public.

JamesChun_0-1713468829107.png

 

That's probably why non-authenticated users cannot see the search box.

 

Cheers