Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Defining custom functions for capture screen and record video component

Updated on October 1, 2020

Customize the display and behavior of the capture screen and record video component in your application by creating a JavaScript file that defines functions for the component. As a result, you deliver an application that complies with your specific requirements.

For example, you can change the default text for a screen capture gadget, or you can adjust the countdown length between the moment when a user initiates recording and the actual start of recording.
  1. In the header of Dev Studio, click CreateTechnicalText File.

  2. On the New tab, define the text file record configuration and context:

    1. In the Label field, enter a meaningful name for the file.

    2. In the App Name (directory) field, enter the name of the server directory in which you want to place the file.

    3. In the File Type (extension) field, enter js.

    4. In the Context section, define the development branch and ruleset for the file.

    5. Click Create and open.

  3. On the Main tab, in the text field, define the callback functions and the write functions that call the capture screen and record video APIs by using those callback functions.

    Tip: The component includes some sample configurations in the Case_cap_screen_video_rec JavaScript file.
  4. Click Save.

  • Previous topic Capture screen and record video component
  • Next topic Including the capture screen and record video component in a section

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us