Community Analyst API for Silverlight 2.2 Reference
GetReportTemplatesTask Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAO.Tasks.Utilities Namespace : GetReportTemplatesTask Class

Glossary Item Box

The Get Report Templates task requests a list of available report templates with their respective titles, categories, available formats, and names.

Object Model

GetReportTemplatesTask ClassAbstractClient ClassITokenProvider Interface

Syntax

Remarks

Some applications of Get Report Templates include the following:

  • A Web application developer may want to consume the output of Get Report Templates in a dynamically-bound grid or option list dialog to allow their users to scroll through the Summary Reports template options.
  • Stakeholders for a business, organization, or agency may want to review the available Summary Reports template options prior to designing a Web services-based application which leverages the Community Analyst Flex API.

The result of this task is an array of ReportTemplateInfo objects which provides information about Summary Report templates and their names to use when specifying them in subsequent analysis. Report template names are used in the ReportOptions parameter in Drive Time, Simple Rings, and Summary Reports.

Example

The code snippet below executes a Get Report Templates task.
C#Copy Code
getReportTemplatesTask.ExecuteAsync(new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Client.BATask<TResult,TEventArgs>
         ESRI.ArcGIS.Client.BAO.Tasks.BAOnlineTask<TResult>
            ESRI.ArcGIS.Client.BAO.Tasks.Utilities.GetReportTemplatesTask

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 ESRI Inc. All Rights Reserved.