2 Replies Latest reply on Jan 29, 2015 12:17 PM by Andrew Ellison

    Filter by SalesForceZone

    Andrew Ellison



      I have a dashboard I've embedded into Salesforce that has information varying by SalesForceZone. What I'd like to do is use a ts filter so that when the dashboard is opened by a user in Salesforce, it filters straight to their assigned SalesForceZone without them having to select from a filter. My current code looks like this:


      <apex:page standardController="User" >

      <apex:canvasApp applicationName="Sparkler"





      'ts.name': 'SFDC_TEST/Dashboard',

      'ts.filter': 'SalesForceZone={!$User.SalesForcezone__C}',

      'ts.tabs': 'no',

      }" />



      However, I keep getting an error message that says: Error: Field SalesForceZone__c is a picklist field. Picklist fields are only supported in certain functions.


      Can anyone steer my in the right direction?