新しいドキュメントサイトへようこそ。これまで日本語で公開されていた記事は、本サイトでもご利用いただけます。サイトをご利用の際に、ブックマークを新しいURLに更新してください。日本語版がない記事は、英語版をご利用ください。日本語コンテンツは今後も引き続き更新していきます。

Enable Javascript in Engagements Editor

Prev Next
This content is currently unavailable in Ja - 日本語. You are viewing the default (English) version.

Overview

This article explains how to enable the JavaScript in the Engagement Editor.

To build robust and secure engagements, Gainsight PX does not recommend the use of JavaScript to design the engagements. However, In the Editor, you can use Code View to call JavaScript functions if necessary.

Enable Javascript

To enable scripting in Code View:

  1. From the left navigation pane, click the Settings icon.

  2. Navigate to Administration > Security > Engagements. The Engagement security page appears.

  3. Enable the Allow Javascript in Engagements Editor toggle button.

Enable javascript.jpg

The following functions can be called after enabling the Allow JavaScript in Engagements Editor toggle button.

"onbeforeprint","onbeforeunload","onerror","onhashchange","onload","onmessage","onoffline","ononline","onpagehide","onpageshow","onpopstate","onresize","onstorage","onunload","onblur","onchange","oncontextmenu","onfocus","oninput","oninvalid","onreset","onsearch","onselect","onsubmit","onkeydown","onkeypress","onkeyup","onclick","ondblclick","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onwheel","ondrop","onscroll","oncanplay","oncanplaythrough","oncuechange","ondurationchange","Onemptied","onended","onerror","onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange","onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting","ontoggle"