Show / Hide Table of Contents

Class Dashboard

Dashboard configuration

Carrier object for Dashboard. Services for the Dashboard Carrier is available from the IDashboardAgent.
Inheritance
object
Dashboard
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Dashboard : Carrier
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }

Constructors

Dashboard()

Default constructor

Declaration
public Dashboard()
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

Properties

AssociateId

Id of the associate who owns this dashboard

Declaration
public virtual int AssociateId { get; set; }
Property Value
Type Description
Int32
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

Caption

The caption for this dashboard

Declaration
public virtual string Caption { get; set; }
Property Value
Type Description
String
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

DashboardId

The dashboard id

Declaration
public virtual int DashboardId { get; set; }
Property Value
Type Description
Int32
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

Layout

The dashboard layout, how the tiles are organized on the screen

Declaration
public virtual DashboardLayout Layout { get; set; }
Property Value
Type Description
DashboardLayout
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

Tiles

The tiles associated with this dashboard

Declaration
public virtual DashboardTile[] Tiles { get; set; }
Property Value
Type Description
DashboardTile[]
Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
String

The carrier contents.

Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

ToString(String)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
String prefix

The line prefix (typically used for indenting)

Returns
Type Description
String

The carrier contents.

Examples

Get Dashboard 123 using the agent:

 using SuperOffice;
 using SuperOffice.CRM.Services;

 using (SoSession mySession = SoSession.Authenticate("user", "pass"))
 {
    var agent = new DashboardAgent();
    var dashboard = agent.GetDashboard( 123 );
 }
See Also
DashboardAgent
IDashboardAgent

See Also

DashboardAgent
IDashboardAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top