Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

Overview

Additional files can be added to the installer to be copied into the Yellowfin web app. This can be used to add extra html or jsp files, for example for use as custom headers and footers, or any other files that you want to be included in the web app. Please note that custom css and image files should be added using the process outlined in Adding Custom Styles.

To do additional files, include the files as part of the installer archive, then set these properties:

Custom File Resource

...

概要

Yellowfin Webアプリケーションにコピーされるようにその他のファイルをインストーラーに追加できます。この機能を使用して、たとえばカスタムヘッダーおよびフッターとして使用するほかのhtmlまたはjspファイルを追加したり、Webアプリケーションに含めるその他のファイルを追加したりできます。カスタムCSSファイルおよびカスタムイメージファイルは、カスタムスタイルの追加で説明するプロセスを使用して追加してください。

 

ファイルを追加するには、そのファイルをインストーラーアーカイブの一部として含めてから、以下のプロパティを設定します:

カスタムファイルリソース

プロパティ

action.files.n

Value

This property points to the resource file within the installer archive.

Custom Images Path

Property

このプロパティは、インストーラーアーカイブ内のリソースファイルを指します。

カスタムイメージパス

プロパティ

action.files.n.apppath

Value

This property is the path within the Yellofwin web app that the file should be copied to.

The two properties above are used together, and the value n in the property name is used to match the properties together. The value n should be a number starting with zero, and incrementing for any additional files.

Example

...

このプロパティは、Yellowfin Webアプリケーション内でファイルのコピー先となるパスです。

これら2つのプロパティは一緒に使用します。プロパティ名の値nは、プロパティを組み合わせるために使用されます。値nはゼロから始まる番号で、追加ファイルごとに増やしていきます。

以下のフォイルをインストーラーアーカイブに追加します:

Code Block
none
none
resources/header.html
resources/footer.html

Then set these installer properties:次に、以下のインストーラープロパティを設定します:

Code Block
none
none
action.files.0=resources/header.html
action.files.0.apppath=includes/header.html
action.files.1=resources/footer.html
action.files.1.apppath=includes/footer.html

In this example, the files この例では、ファイルheader.html and およびfooter.html will both be copied into the includes directory in the Yellowfin web app.がどちらもYellowfin Webアプリケーションのincludesディレクトリにコピーされます。