クライアントスクリプトによるスクリプトインクルードの呼び出し
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 12:53 AM
ウィジェットのクライアントスクリプトにて、スクリプトインクルードを呼び出し、スクリプトインクルード内でテーブルにレコードを挿入します。
・クライアントスクリプト
・スクリプトインクルード
しかし、実行後はUnhandled exception in GlideAjax.となってしまい、ザーバ側とクライアント側で通信ができていないようです。
原因は何でしょうか?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 04:04 AM
The error is caused by the GlideAjax not completing successfully - it's not called and/or doesn't return a value to the client script correctly. You need to add a sysparm_name parameter to the client script to direct it to the correct function, with a unique name that is not a reserved word, so don't name the function 'get'. Here is an excellent guide on the components of a GA call