Table of Contents

Namespace Sage.CRM.Blocks

Classes

ChartGraphicBlock

This block inherits all the capabilities of the Graphics Block and adds to it the ability to generate a variety of different charts. These charts may depend on data retrieved via SQL or added through ASP for their values. In this way, they can be fully dynamic and represent data at a specific moment in time.

FileBlock

The FileBlock object provides access to external files that are not part of the system. It allows these files to appear as if they are part of the system and to be called upon using ASP in the same way as any other CRM page. Note that the files need to be formatted for HTML appearance. If you do not specify where the file is stored in the directory path property, the system looks for the file in the CRM Reports directory.

GraphicBlock

Graphic Blocks are more powerful than standard static images because variables can be used in their creation. These variables may represent live data from a database or incorporate details of the current user such as their privileges or settings. Graphics created by the Graphics Block are recreated every time they are requested so, where variables are used, the graphic is based on real time data.

MarqueeBlock

You use the MarqueeBlock object to add scrolling text, for example a news ticker, to a page. The Marquee block reads from the Custom Captions table for news headlines and news story links and builds a scrolling display. You can control the direction of the scrolling, the positioning, the speed, and the style sheet used. The news content is maintained in CRM in Administration | Translations. The object provides a dismiss button which is overwritten when the news changes.

MessageBlock

Provides an email form that can be added to the screen.

OrgGraphicBlock

The organizational graphic is an implementation of the Graphic Block that is used for organizational charting. These diagrams can be drawn from data supplied to them from an Application Extension or from data stored in a table. Other parameters can also be set to describe the look of the diagram. The most common use of these diagrams is to display an employee hierarchy for a company. Currently, all the parameters and data are set through the OrgTree command. As with the Graphics Block, the organizational graphic is recreated every time it is requested and can therefore be based on real time data.

PipelineGraphicBlock

The PipelineGraphicBlock is an implementation of the Graphic Block that includes extra functionality. You use the PipelineGraphicBlock to create cross-sectional diagrams that can represent data from an Application Extension or data from a table. You use the parameters of this block to change the look and feel of the pipeline.

SageCrmBlock

SageCrmBlock - Base representation of one CRM Block, this class can be used to get any Metadata block.