Creating Click Throughs

From MT Marvelit
Revision as of 03:36, 30 January 2007 by Rmortensen (Talk | contribs)

Jump to: navigation, search

There are two ways to create click throughs in MARVELit DASH:

1. Entering a URL into the Chart or Meter Portlets
2. Entering a Link attribute in XML Descriptors

URL Attributes

In the Chart and Meter Portlet - there is a field where a URL can be entered. This field can contain a URL to any site on the internet, an intranet or to another page in DASH.

All pages in DASH have a URL associated with them. If you want to create a page in DASH to link to - follow these steps:

  • Create a page using the Portal Site Manager. You may want to make the page hidden by clicking the hidden attribute box. See Adding Panes for further instructions.
  • After you create the page - copy the URL for that page. View the page and copy the URL string. An example would look like this - http://demo.marvelit.com/jetspeed/portal/Sales/Snapshots.psml
  • Paste this URL into a Chart or Meter portlet URL field. See Chart Portlet or Meter Portlet for additional information.
  • Once you save the Meter or Chart - the image will contain a link to the DASH page specified in the URL. The Cash Goal Meter on the Welcome page of the Demo site uses this method. See http://demo.marvelit.com/jetspeed/ - login as Demo, Demo to see this example.

Links in XML Descriptors

All DASH portlets contain an XML descriptor field. A link attribute can be saved in this field that will associate a link to a URL and pass the value that was clicked on. See the following XML taken from the Receipts / Refunds Bar Chart on the Welcome page of the Demo site:

XML Link.jpg

  • Once you save the portlet - the column will contain a link to the DASH page specified in the link attribute. The Receipts / Refunds Bar Chart on the Welcome page of the Demo site uses this method. See http://demo.marvelit.com/jetspeed/ - login as Demo, Demo to see this example.