From 3159366560ebbec9ad8232a6a360d62ede9484d2 Mon Sep 17 00:00:00 2001 From: "maxiaozhe@alicorns.co.jp" Date: Thu, 1 Feb 2024 10:58:39 +0900 Subject: [PATCH] =?UTF-8?q?Action=E3=82=A2=E3=83=89=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E9=96=8B=E7=99=BA=E6=89=8B=E9=A0=86=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kintone-addins/readme.md | 40 +++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/plugin/kintone-addins/readme.md b/plugin/kintone-addins/readme.md index e8f68e7..0f96d5f 100644 --- a/plugin/kintone-addins/readme.md +++ b/plugin/kintone-addins/readme.md @@ -7,7 +7,7 @@ |列名 | 項目 | 説明 | |----- |-------------|-------------------------------------------| |name | 名前 | アクションプラグイン名(ユニークな名前が必要) | -|title |タイトル | タイトル | +|title |タイトル | タイトル (20文字以内) | |subtitle|サブタイトル | サブタイトル | |outputpoint|出力ポイント | 出力値に分岐がある場合の接続点 | |property|プロパティ | アクションプラグインの属性(json形式) | @@ -227,4 +227,40 @@ getConditionResult(context:any):boolean{ ``` 5. **登録関数の実装** (`register`): - アクションをアドインシステムに登録するための`register`メソッドを実装します。 - + +6. **アクションプロセス`ActionProcess`に参照追加** +```ts +import { actionAddins } from "../actions"; +import '../actions/must-input'; +import '../actions/auto-numbering'; +import '../actions/field-shown'; +import '../actions/your-action'; //ここに新規のアクションの参照を追加する +... +``` +### 3. デプロイ +1. **プロジェクトをビルドする** +- 本番環境にデプロイする場合 +```bash +cd plug\kintone-addins\ +npm install +npm run build +``` +- 開発環境にデプロイする場合(ソースマップ出力ます) +```bash +cd plug\kintone-addins\ +npm install +npm run build:dev +``` +2. **Azureにデプロイする** +- Azure 拡張機能のインストール: + VSCode の拡張機能ペインで`Azure Tools`を検索し、インストールします。 + +- Azure にログイン: + - Azure Account 拡張機能を使用して Azure にログインします。 + +- Azure へのデプロイ: + - 「Deploy to Web App」オプションを使用し、デプロイするファイルやフォルダを指定します。 + +- デプロイの確認: + - Azure App Service 拡張機能でデプロイが完了したことを確認します。 + - ka-addin の URL にアクセスしてアプリケーションが正常に動作しているか確認します。 \ No newline at end of file