The function getSearchSources() in Typeahead Search widget is not accessible from scope application on Service Portal
Steps to Reproduce
- Run the below function in the server script of a scoped widget:
data.portalID = $sp.getPortalRecord().getUniqueValue();
var searchSources = $sp.getSearchSources(data.portalID, null);
2. Open a portal page where that widget is used.
Expected behaviour: The function works, no error messages are received
You will receive the below error message:
This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.
Related Problem: PRB1321918