Nav view search



The Exchange

The place to download pre-configured tickets, code snippets, and solutions


Using the Professional Services Library: Edit

The Edit function in the Professional Services Library allows the user, using the built-in OpenURI MetaScript function, to easily navigate within Virtual Ticket without the need to remember OpenURI syntax, and opens the selected record in the editing mode.

Note: This solution is optimized for Virtual Ticket Developer.

If you are using Workgroups DaVinci and are planning to use a Toolbox snippet not marked as DaVinci-compatible, please check with Support for possible compatibility issues before using.

The following script demonstrates the usage of Edit in the Professional Services Library:

//@version "2.0"  
//@include "database:PS.js"  
// Place inside a button's "Click Action" MetaScript  
// Options include id, type, new_window, form, group, parameters  
// Simple example - This will open the chosen Request in edit mode in a new Virtual Ticket browser  
PS.Edit( Field( 'Request_Number' ), "Requests" );  
// More complex example - This will open the chosen Request in edit mode in the same Virtual Ticket browser, and will use the "Request Entry" form  
PS.Edit( Field( 'Request_Number' ), "Requests", "no", "Request Entry" ); 

Last Modified:



Ken Valley