Previous Table of Contents Index Next
Perforce 2013.1: Javascript API for Visual Tools



Chapter 1 Perforce JavaScript API for Visual Tools
Overview
Architecture
Enabling Applets
The Permissions Table Entry
The Central Settings File
Coding the Central Settings File
Configuring Applets for Specific Users and Groups
Central Settings Keys
Programming Applets
Issuing Perforce Commands
Processing Command Results and Handling Server Errors
Using P4Web URLs
Extending P4Admin and P4V
Raising Alerts in P4Admin
Example: A Basic Alert
Example: Check the Security Level
Adding Main Tabs to P4Admin and P4V
Display Connection Settings
Display the Five Most Recent Submitted Changelists
Detect and set selection
Implementing a Custom Submit Dialog in P4V
Administering P4V Settings Centrally
Security
Secure Your Applet Source Code
Restrict Access to the Central Settings File
Use Only Trusted Perforce Servers
Monitor Your Perforce Server Activity
Configure Only Trusted Web Servers
Preventing Cross-Site Scripting (XSS) Attacks
Types of XSS Issues
Escaping Dynamic Data
Troubleshooting
Appendix A Method and Command Reference
JavaScript API Methods
Central Settings Logic Methods
Alert Methods
Server Data Methods
Utility Functions
The Map Function: Details
Class level methods
Properties
Instance methods
Example
Supported p4 Commands
Index


Previous Table of Contents Index Next

Perforce 2013.1: Javascript API for Visual Tools
Copyright 2010-2013 Perforce Software.