Client Scriptのデバッグ/ログの確認について

Hiroki Miyashit
Tera Contributor

Client Scripts からJavascriptを入力して処理を行おうと考えているのですが、
方法が見つからず困っております。
デバッグ、出力ログを確認する機能があるかわかりますでしょうか?

調べたところ、Romaまでは「Field watcher」という機能があったようですが、
San DiegoからはUIが変わっていて、「Field watcher」機能を出すことが出来ないです。

参考URL
https://docs.servicenow.com/en-US/bundle/sandiego-application-development/page/script/debugging/concept/c_JavaScriptDebugWindow.html


San Diegoにて、Client Scriptのデバッグ/ログの確認が出来る方法がありましたら、
教えて頂けますと幸いです。

宜しくお願い致します。

1 件の受理された解決策

Matt102
Giga Guru

申し訳ありませんが、日本語は話せません。私があなたの質問を理解するならば、以下が役立つかもしれません。
1.プロファイルでJavascriptログとフィールドウォッチャーをオンにします


https://docs.servicenow.com/en-US/bundle/sandiego-application-development/page/script/debugging/concept/c_JavaScriptDebugWindow.html

2.デバッグをオンにします

https://docs.servicenow.com/bundle/sandiego-application-development/page/script/debugging/concept/c_SessionDebug.html

hth,matt

元の投稿で解決策を見る

7件の返信7

Hi Matt,

Thank you for reply!

My UI version is must likely set in UI16, I can't find the gear icon.
So I am not able to set like your lecture.
And I don't understand to change the UI version. (UI16 ---> UI15)

Please tell me how to set when UI16 or change of UI version.

 

find_real_file.png

Hiya,

Sadly (?) we are still on Rome.

I suspect the following may be of assistance to you:

https://community.servicenow.com/community?id=community_question&sys_id=2588fae91b268150c790ece6b04bcb02

Not sure how relevant for you, but there is also:
https://community.servicenow.com/community?id=community_question&sys_id=a17d961c1bbe855086b3ece6b04bcb69

https://community.servicenow.com/community?id=community_question&sys_id=eec267641b16051498a1ece6b04bcb50

Hope that helps,Matt

 

Hiroki Miyashit
Tera Contributor

I could confirm to the debug screen in San Diego.
I share it.

System Diagnostic > Script Debugger > Session Debug > Enable All

find_real_file.png