About Filters and the JavaScript Embedding Framework V2
JavaScript Embedding Framework V1 was the original framework for embedding Oracle Analytics content in applications and web pages. JavaScript Embedding Framework V2 is the preferred framework for new integrations. You can use both the filters and filters-v2 properties with JavaScript Embedding Framework V2.
Keep in mind the following when working with filters in JavaScript Embedding Framework V2:
- Initialize the V2 framework as described in Prepare the HTML Page for Embedded Oracle Analytics Content. Call
application.applyBindings(model)to provide the property values to an<oracle-dv>element. - The name
filters-v2identifies the newer filter-payload property. It does not identify the version of the JavaScript Embedding Framework. - For new integrations, use
filters-v2when it meets your requirements. It supports more filter types and updates embedded content without reloading the entire workbook. - If the embedded page uses 3-Legged OAuth or token authentication, call
setEmbeddingConfig()beforeapplyBindings().