We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
改善内容
保存時にjavascriptで項目チェックをしてエラーがあったらプラグインの処理をキャンセルしたい。
再現手順
javascriptで入力チェックを行ってエラーがありキャンセルしても、Boxプラグインではフォルダが作成または削除されてしまう。
期待する動作
Kintoneでは処理の順番を指定できない。よってプラグイン側に以下を実装する。
通知は関数呼び出しで行う。 window.BoxUiPlugin.setDone() // 待機解除 window.boxUiPlugin.setCancel() // 処理キャンセル どちらの通知も無い場合は、待機満了後に通常処理。
The text was updated successfully, but these errors were encountered:
実装してみて。 実際は、javascript側の処理のほうが早く、しかも同期実行されている。 よって待機時間の設定は意味が無い。 また、event.error を設定することで後続のプラグインは実行されない。 (event.フィールドID.error を設定するだけでは後続プラグインの実行は止まらない) よって本機能を使う状況は現状では希なケースに留まる。 (本プラグインの実行だけ止めて、他のプラグインは実行する場合等)
Sorry, something went wrong.
No branches or pull requests
改善内容
保存時にjavascriptで項目チェックをしてエラーがあったらプラグインの処理をキャンセルしたい。
再現手順
javascriptで入力チェックを行ってエラーがありキャンセルしても、Boxプラグインではフォルダが作成または削除されてしまう。
期待する動作
Kintoneでは処理の順番を指定できない。よってプラグイン側に以下を実装する。
通知は関数呼び出しで行う。
window.BoxUiPlugin.setDone() // 待機解除
window.boxUiPlugin.setCancel() // 処理キャンセル
どちらの通知も無い場合は、待機満了後に通常処理。
The text was updated successfully, but these errors were encountered: