question

Shri-6058 avatar image
0 Votes"
Shri-6058 asked MichaelHan-MSFT commented

People Search textbox(with autopopulate names) on SPO homepage

Hello, I have a custom employee search box on the SharePoint 2013 home page which will also autopopulate employee name and loads employee search page upon clicking "Search"button. I am trying to integrate the same functionality in SharePoint Online however the auto populate is not working.

Here is the code I used:

<div class="form-inline">
<div class="form-group ui-front">
<input class="ui-autocomplete-input" id="employee-search" placeholder="EMPLOYEE NAME" autocomplete="off" type="text" style="height: 43px;"/>
</div>
<button class="btn btn-default" id="btnEmployeeSearch">Search</button>
</div>

I have a search result page in SPO: https://companyPortal.sharepoint.com/search/CustomPeopleSearch.aspx where all employee details exist, search box exist as well. I want to just add the People search textbox on the home page and upon clicking link, it should load the customPeopleSearch.aspx page with the value entered in the textbox. Please help.

Thanks
Shri

office-sharepoint-onlineoffice-sharepoint-server-developmentoffice-sharepoint-server-customizationsharepoint-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Shri-6058, how do you make auto complete work in sharepoint 2013? Please share more details.

0 Votes 0 ·

1 Answer

Shri-6058 avatar image
0 Votes"
Shri-6058 answered MichaelHan-MSFT commented

Thank you @MichaelHan-MSFT . I do the auto populate using the external content source. When I try to create an external content source, it throws error when I tried to setup via sharepoint designer:
133734-image.png



image.png (21.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Shri-6058, Have you tried to follow this article to create Business Connectivity Services (BCS) connections to data sources? https://docs.microsoft.com/en-us/sharepoint/manage-business-connectivity-service-applications

0 Votes 0 ·