First, download the Cognitive Search API - SharePoint Data Source.json
file and import it into your Postman. Then, in the Variables section of your imported collection, setup the following variables:
AZURE_SEARCH_SERVICE_NAME
- Your Azure Cognitive Search Service Name. You can retreive it from the URL. It goes between https:// and .search.windows.net: https://clever-cognitive-search.search.windows.netAZURE_SEARCH_ADMIN_KEY
- Cognitive Search Admin keyAZURE_APPLICATION_ID
- Azure App Registration ID. Note: The app must have read access to your SharePoint tenantAZURE_APPLICATION_SECRET
- Azure App Registration Secret.AZURE_TENANT_ID
- Azure Active Directory Tenant ID. The same that hosts Cognitive Search and SharePoint.SHAREPOINT_SITE_URL
- Full URL of a SharePoint site. For example, https://gocleverpointcom.sharepoint.com/sites/Teailspin-Records-CognitiveSearchDemoSHAREPOINT_LIBRARY_URL
- Full URL of a document library. For example, https://gocleverpointcom.sharepoint.com/sites/Teailspin-Records-CognitiveSearchDemo/Shared Documents/Forms/AllItems.aspxSHAREPOINT_ADDITIONAL_COLUMNS
- Custom SharePoint columns that you want to index. For example: Title,Year,DocumentType,Critical,LastReviewed,DocumentOwner,AnnualCosts,FullFilePath
Hello @Zerg00s
I have followed this article and video you have shared, The content is really good, thanks for being so much specific.
However I have one issue while searching, the custom columns are coming up as null for me.
Error Image with custom columns as null https://spigniter-my.sharepoint.com/:i:/g/personal/msadmin_signited_com/EfndAwHAeUtPgap5U35wtDEBxLcbtZS3ViMva3qL77mvKQ?e=9vcQYi
actual data which custom columns having some values https://spigniter-my.sharepoint.com/:i:/g/personal/msadmin_signited_com/EaeRkW-NyPdElEBYiZ6tEzYBbs8OwPo3R4EwuZK4XQb8xw?e=MGu3PT
Do you have idea, what went wrong for me?
Thanks in advance.