Passing filter values from web pages to embedded Birst applications

A web page can pass filter values to an embedded Birst application.

  1. Set up the basic embedding.
  2. Locate the Iframe that is loading the Birst application and refer to its contentWindow property.
  3. Use this code for a filter:
    BirstConfig.postData({operation:'setFilters', 
                 filters:[{key:'Time.Year', value:[2012],operator:'='}]})