uploadTemplateForReport()メソッド

ReportServiceのuploadTemplateForReport()メソッドは、カタログ内のレポート定義にテンプレートをアップロードします。

シグネチャ

boolean uploadTemplateForReport(String reportAbsolutePath, String templateName, String templateType, String locale, byte[] templateData, String userID, String password);

uploadTemplateForReport()メソッドのパラメータ

パラメータ 説明

String reportAbsolutePath

テンプレートのアップロード先となるレポートへのパス。たとえば: /HR Manager/Employee Reports/Employee Listing.xdo

String templateName

アップロードするテンプレートのファイル名。

String templateType

テンプレート・タイプ。有効な値は次のとおりです:

  • csv (CSV)

  • eText (eTextのテンプレート)

  • excel (Microsoft Excel)

  • excel2000 (Microsoft Excel 2000)

  • flash (Adobe Flash)

  • html (HTML)

  • mhtml (MIME HTML)

  • pdf (Adobe PDF)

  • pdfz (eBook)

  • ppt (Microsoft PowerPoint)

  • rtf (リッチ・テキスト形式)

  • text (テキスト)

  • txml (変換されたXML)

  • xml (XML)

  • xpa (Analyzerテンプレート)

  • xpt (BI Publisherテンプレート)

  • xslfo (XSL-FOスタイル・シート)

String locale

テンプレートに割り当てられるロケール(たとえば、en_US)。

byte[] templateData

アップロードするテンプレート・ファイルのコンテンツ。

String userID

ユーザー名を指定します。

String password

ユーザー名のパスワードを指定します。