...
Table of Contents | ||
---|---|---|
|
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ファイルおよびカスタムイメージファイルは、カスタムスタイルの追加で説明するプロセスを使用して追加してください。
ファイルを追加するには、そのファイルをインストーラーアーカイブの一部として含めてから、以下のプロパティを設定します:
カスタムファイルリソース
プロパティ |
|
---|---|
Value | This property points to the resource file within the installer archive. |
Custom Images Path
Property値 | このプロパティは、インストーラーアーカイブ内のリソースファイルを指します。 |
---|
カスタムイメージパス
プロパティ |
|
---|---|
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 | ||||
---|---|---|---|---|
| ||||
resources/header.html resources/footer.html |
Then set these installer properties:次に、以下のインストーラープロパティを設定します:
Code Block | ||||
---|---|---|---|---|
| ||||
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
ディレクトリにコピーされます。