3. セットアップ方法¶
intra-mart Accel Platformシステム管理者向けの作業です。intra-mart Accel Platform のセットアップは「intra-mart Accel Platform セットアップガイド」を参照してください。ここではIM-Spreadsheet for Accel Platformのインストールと設定方法について説明します。インストールおよび設定はIM-Jugglingで行います。以下の手順を行うことでIM-Spreadsheet for Accel Platformをintra-mart Accel Platform上で利用できます。
項目
3.1. IM-Spreadsheet for Accel Platformモジュールの追加¶
IM-Spreadsheet for Accel Platformモジュールを追加し、WARファイルの作成から動作確認までの流れを説明します。
注意
3.1.1. モジュールの選択(IM-Spreadsheet 8.0.5 2019 Winter(Xanadu)以降)¶
- IM-Jugglingのプロジェクトで「IM-Spreadsheet for Accel Platform」を選択してください。
- 新規でJugglingプロジェクトを作成する場合
- 選択したベースモジュールのバージョンが「8.0.24 - 2019 Winter(Xanadu)」以降であることを確認してください。
- 「新規Jugglingプロジェクト」ウィンドウの「アプリケーションの選択」で「IM-Spreadsheet for Accel Platform」を選択してください。
- 既存のJugglingプロジェクトに追加する場合
- 既に「IM-Spreadsheet Option for Accel Platform」モジュール(ユーザモジュール)を追加済みの場合は「ユーザモジュール」タブからモジュールを削除してください。
- juggling.imの「ベースモジュール」タブを表示し、intra-mart Accel Platformのバージョンが「2019 Winter(Xanadu)- 8.0.24」以降になっていることを確認してください。
- juggling.imの「アプリケーション」タブを表示し、「+」をクリックして「アプリケーションモジュール選択」ウィンドウで「IM-Spreadsheet for Accel Platform」を選択してください。
- 「IM-Spreadsheet for Accel Platform」を選択後、「IM-Spreadsheet設定(spreadsheet-config.xml)」ファイルを追加してください。
- 既に設定ファイルがconfディレクトリ配下に存在する場合は不要です。
コラム
3.1.2. ユーザモジュールの追加(IM-Spreadsheet 8.0.4 2019 Summer(Waltz)以前)¶
IM-Spreadsheet for Accel Platformを利用するには、ダウンロードライブラリよりユーザモジュールをダウンロードし、IM-Jugglingから追加します。
プロダクトファイルダウンロード からユーザモジュール(immファイル)をダウンロードします。
ダウンロード可能なIM-Spreadsheet for Accel Platformのモジュールは以下の通りです。
IM-Spreadsheet for Accel Platform モジュール モジュール ファイル名 説明 IM-Spreadsheet Option for Accel Platform モジュール im_spreadsheet-8.0.x.imm IM-Spreadsheet for Accel Platform の機能を提供します。メインのモジュールです。IM-Spreadsheet for Accel Platform の機能を利用する場合は必ず追加してください。利用するためには「SpreadJSライセンス」が必要です。IM-Spreadsheet全文検索モジュール im_spreadsheet_contents_search-8.0.x.imm IM-Spreadsheet for Accel PlatformとIM-ContentsSearchの連携機能を提供します。IM-Knowledgeに登録したワークブックをIM-ContentsSearchでも検索できるようにする場合に選択してください。IM-Jugglingで「ユーザモジュール」タブの右上の[+]ボタンからダウンロードしたimmファイルを追加してください。
コラム
プロダクトファイルダウンロードからモジュールをダウンロードするには、IM-Spreadsheet for Accel Platform製品ライセンスキーが必要です。
3.2. SpreadJSライセンスの設定¶
SpreadJSライセンスのライセンスキーを設定します。
IM-Jugglingで「設定ファイル」タブから「 IM-Spreadsheet - IM-Spreadsheet Configuration(spreadsheet-config.xml)」を選択し、「出力」ボタンをクリックします。
spreadsheet-config/licenses タグ、spreadsheet-config/designer-licenses タグを編集します。
licenseタグおよびdesigner-licenseタグのurl属性にはベースURLと同じURLを設定します。ベースURLについては intra-mart Accel Platform セットアップガイド ベースURL を参照してください。SpreadJSライセンスキーの設定例1(ライセンスが1つ)
以下はフルドメイン(FQDN)が「www.example.com」、コンテキストパスが「imart」、SpreadJS本体のライセンスキーが「www.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx」、リボンコンテナのライセンスキーが「www.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp」の場合の設定例です。<?xml version="1.0" encoding="UTF-8"?> <spreadsheet-config xmlns="http://intra-mart.co.jp/system/spreadsheet/spreadsheet-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://intra-mart.co.jp/system/spreadsheet/spreadsheet-config ../schema/spreadsheet-config.xsd "> <licenses> <license url="http://www.example.com/imart"><![CDATA[www.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]></license> </licenses> <designer-licenses> <designer-license url="http://www.example.com/imart"><![CDATA[www.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp]]></designer-license> </designer-licenses> </spreadsheet-config>SpreadJSライセンスキーの設定例2(ライセンスが複数)
licenseタグおよびdesigner-licenseタグは複数記述可能です。マルチテナント環境においてベースURLが各テナントで異なる場合には、以下のように各テナントのベースURLごとにライセンスを設定します。例えば、以下のような構成の場合です。
マルチテナント環境 テナント ベースURL SpreadJS本体のライセンスキー リボンコンテナのライセンスキー テナント1 http://tenant1.example.com/imart tenant1.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (「tenant1.example.com」のドメインに対応するライセンス) tenant1.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp (「tenant1.example.com」のドメインに対応するライセンス) テナント2 http://tenant2.example.com/imart tenant2.example.com,222222222222222#yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy (「tenant2.example.com」のドメインに対応するライセンス) tenant2.example.com,333333333333333#qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq (「tenant2.example.com」のドメインに対応するライセンス) <?xml version="1.0" encoding="UTF-8"?> <spreadsheet-config xmlns="http://intra-mart.co.jp/system/spreadsheet/spreadsheet-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://intra-mart.co.jp/system/spreadsheet/spreadsheet-config ../schema/spreadsheet-config.xsd "> <licenses> <license url="http://tenant1.example.com/imart"><![CDATA[tenant1.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]></license> <license url="http://tenant2.example.com/imart"><![CDATA[tenant2.example.com,222222222222222#yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy]]></license> </licenses> <designer-licenses> <designer-license url="http://tenant1.example.com/imart"><![CDATA[tenant1.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp]]></designer-license> <designer-license url="http://tenant2.example.com/imart"><![CDATA[tenant2.example.com,333333333333333#qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq]]></designer-license> </designer-licenses> </spreadsheet-config>
注意
licenseタグおよびdesigner-licenseタグには <![CDATA[ と ]]> の間にライセンスキーを記述する必要があります。
正しい設定例
<license url="http://www.example.com/imart"><![CDATA[www.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]></license><designer-license url="http://www.example.com/imart"><![CDATA[www.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp]]></designer-license>
正しくない設定例
<license url="http://www.example.com/imart">www.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</license><designer-license url="http://www.example.com/imart">www.example.com,111111111111111#ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp</designer-license>
注意
www.example.com,000000000000000#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
コラム
ライセンスについての概要は「ライセンスについて」を参照してください。
コラム
3.3. テナント環境セットアップ¶
テナント環境セットアップについては、「intra-mart Accel Platform セットアップガイド」-「テナント環境セットアップ」を参照してください。
3.4. ライセンスの登録¶
IM-Spreadsheet for Accel Platformライセンスの登録については、「intra-mart Accel Platform セットアップガイド」-「ライセンスの登録」を参照してください。
3.5. ナレッジグループの作成・権限設定(共有ワークブック機能を利用する場合)¶
IM-Knowledgeの共有ワークブック機能を利用する場合は、以下のドキュメントを参照してナレッジグループの作成と権限設定を行ってください。ナレッジグループの作成は「Knowledge グループ管理管理者」ロールが付与されているユーザで操作できます。「コンテンツ一覧」画面、コンテンツの作成は「Knowledge コンテンツ利用者」ロールが付与されているユーザで操作できます。