Calling ASP Pages from Classic Dashboard Blocks

1 minute read time.
In versions earlier than Sage CRM v7.0, the classic dashboard tab of the My CRM area is a customizable page that contains information most relevant to the way a user may work.

The classic dashboard can display report graphics, links to reports, and information contained in different types of blocks which are made available by the System Administrator.

The most commonly used blocks are
  • Chart Blocks
  • File Blocks
  • List Blocks
Where derived or customized information needs to be shown that is not easily represented by a report or a list block then you may wish to use an ASP page. To include an ASP page in the classic dashboard you will need to use a content block.
Note: From Sage CRM v7.1 content blocks can also be used in the new Interactive Dashboard.

The content block will contain jscript code that will build the path to the ASP page. The ASP page will then be shown within an .

In the example code below there is a function called 'callPage'. You can pass the name of the ASP page as a parameter to the function and it will build the path including the correct session and context information that will allow the ASP page to use eware blocks.



Note

In the ASP page called you will probably want to supress the display of a tab group. e.g. Response.Write(CRM.GetPage("none"));