Category Archives: SharePoint 2013

How to specify results source name for search query using SharePoint 2013 JavaScript Client Object Model

For using SharePoint 2013 search CSOM/JSOM there are already existing posts that explain how to perform search, gor example this or this Today, however, I needed to set Results Source for my search query. You can do it using keywordQuery.set_sourceId(guid), … Continue reading

Posted in Sharepoint, SharePoint 2013 | Leave a comment

How to get termStore by name using SharePoint 2013 JSOM

All the examples of retrieving Terms Store and getting all terms using JavaScript object model were using GUIDs. Well, we know that GUIDs work only for specific environment, and not for moving stuff around. You will need to include sp.js … Continue reading

Posted in Sharepoint, SharePoint 2013 | Leave a comment