Passing filter values on the URL to performancepoint Services Web parts

Source: Internet
Author: User
Document directory
  • 1. Understand how query string (URL) filter works
  • 2. Build the content & page
  • 3. Add query string (URL) filter Web parts for each attribute you want to control on the URL
  • 4. connect each filter Web part to the Web parts you want it to affect

A design pattern that may help you link to dashboards from existing systems is passing filter values in the URL. For example:

 

Although this pattern's as old as the Web, you asked us to make performancepoint dashboards work with it. In SharePoint 2010 it works!

The steps are the same whether you deploy a page that uses only performancepoint Web parts using dashboard designer, or build a more complex page using SharePoint web or SharePoint designer.

  1. Understand how query string (URL) filter works
  2. Build the content & page
  3. Add query string (URL) filter Web parts for each attribute you want to control on the URL
  4. Connect each filter Web part to the Web parts you want it to affect

To define strate we'll add URL filtering to a simple dashboard that has one performancepoint report web part.

We will specify geography on the URL:

1. Understand how query string (URL) filter works

The query string (URL) filter accepts the name and value parts, separated by an equals sign, and multiple filters separated by a semi-colon (this is quite common and not unique to SharePoint .)

You'll have full control over the name part. We'll explain how to specify it in the next step.

The value depends on the Web part the value's passed. in the case of performancepoint Services Web parts you'll need a member unique name for the data source (s) referenced by the content.

Unfortunately a query string (URL) filter and another filter can't be synchronized with the same consumer field of a Web part. although you can connect more than one filter Web parts to the same consumer field, this won't result in the multiple filters being synchronized with the field. you will have to choose one mode or the other.

2. Build the content & page

We laid out the analytic Chart "local sales report" in dashboard designer. The only detail of interest is we put the geography hierarchy inBackgroundWell so we can connect filters to it in Sharepoint.

If you're going to do URL filtering we recommend you do your page editing outside dashboard designer. dashboard designer's Web Part Page deployment is very simplistic and removes all changes not possible within dashboard designer, including URL filtering.

For this example we didn't use dashboard designer at all tables t to create "local sales report. "We started with a blank Web Part Page, added the performancepoint report web part, then configured it to show" local sales report."

3. Add query string (URL) filter Web parts for each attribute you want to control on the URL

For each query string parameter you want the page to have:

  1. In SharePoint web put the page in edit mode (selectPageTab in the ribbon, and clickEdit page.)
  2. ClickAdd a Web PartIn any zone.
  3. InCategoriesColumn, selectFilters
  4. SelectQuery string (URL) FilterAnd clickAdd
  5. In the new Web Part's Web Part menu, clickEdit Web Part:

  6. In the tool pane fill outQuery string parameter name. You may also want to fill outDefault Value, So that when the parameter's not specified a reasonable default's used.

  7. Click "OK at the bottom of the tool pane.
4. connect each filter Web part to the Web parts you want it to affect

For each Web part you want the filter to affect:

  1. From the Web Part menu on the filter Web Part select: connections-> send filter values to-> then the destination web part:
  2. TheChoose connectionDialog appears. You'll have 2 choices for connection type; either will work in this case.
  3. UnderConfigure connectionSelect the field you 'd like to filter. the options vary based on the Web part, and in the case of performancepoint Web parts, on the content. here we select the geography hierarchy we added to "background" in local sales report:
  4. ClickFinish.
  5. You can now click "Stop editing", and try it out:

 

John Hall & Wade Dorrell
SharePoint bi

(Please note that to simplify all URL examples, we 've left the value parts un-encoded.RFC 3986Requires that most characters in this part of a URL, notably space, [and], be encoded in a specific way that's not particle ly human-readable. if you don't encode values in real applications, as the URLs are passed along they often get truncated at the space or garbled .)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.