Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

One of the most powerful features of Periscope is that views are context sensitive.  That means that one view can be reused across different contexts (such as sites) which can save configuration time as well as help tell a story about how the data changes.  In this document I'll walk you through setting up a context sensitive dashboard (View) that can be reused across all sites.

Step 1: Create a new Dashboard View

The first thing we'll do is create a new Dashboard view that is assigned to all sites.  To do this, navigate to your View Settings page or click the  button in the bottom left of Periscope.  The "Select View" dialog will appear, choose the "Dashboard" view and click OK.  The next dialog that appears allows us to configure our view.  

...

In the above dialog I set the name to "Site Dashboard", chose a new icon of a building and set the Target to All Sites.  This caused our new view to appear on every site in our database.  Now if we navigate to a Site we should see a building icon on the left which takes us to our new Dashboard view.

Step 2: Creating context sensitive viewlets

Now that we have a dashboard that is being reused across all of our sites we need to setup viewlets that are context sensitive.  As we change from one site to another we want our viewlets to change as well.  To do this:

...