AnsweredAssumed Answered

PortalQueryParameters CanSearchPublic Not Working

Question asked by chad.yoder@nwg on Mar 19, 2017
Latest reply on Mar 21, 2017 by chad.yoder@nwg

Setting the CanSearchPublic flag for the PortalQueryParameters doesn't seem to have an impact on the results:

 

var queryString = "type:(\"web map\" NOT \"web mapping application\")";
var portalQuery = new PortalQueryParameters (queryString);
portalQuery.CanSearchPublic = false;
var maps = await arcgisPortal.FindItemsAsync (portalQuery);
ToastHelpers.ShowInfo ("Web Maps", maps.TotalResultsCount.ToString (), 3);

Outcomes