Need to Filter Report on Multi Select Field via URL

Need to Filter Report on Multi Select Field via URL

Hello all,

I am trying to filter and embed a HTML Creator report in a Page and filter based on the selections in a multi select picklist. Here is what I am trying to accomplish but I cannot seem to get the syntax right for the "OR" portion of the URL.


I tried the above and neither "OR" or "||" work inbetween the two City parameters. Any help is appreciated.

  1. companyName = "";
  2. countyName = "";
  3. cityName = "";
  4. if(input.Company1 != null)
  5. {
  6. companyName = "Company1=" + Company[ID == input.Company1].Company_Name;
  7. }
  8. if(input.County != "")
  9. {
  10. countyName = "&&County=" + input.County;
  11. }
  12. if(input.City != "")
  13. {
  14. cityName = "&&City=" + input.City;
  15. }
  16. //companyName = Company[ID == input.Company1].Company_Name;
  17. NewSearchResultPublishUrl = zoho.appuri + "view-embed/All_Projects?";
  18. openUrl(NewSearchResultPublishUrl + companyName + countyName + cityName,"iframe","frame12");