Nav view search

Navigation

Search

The Exchange

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

Back

Using the Professional Services Library: Go

The Go 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.

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 Go 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 a new Virtual Ticket browser 
PS.Go( Field( 'Request_Number' ), "Requests" ); 
 
// More complex example - This will open the chosen Request in the same Virtual Ticket browser, and will use the "Request Entry" form 
PS.Go( Field( 'Request_Number' ), "Requests", "no", "Request Entry" ); 

Last Modified:

2013-11-21

by

Ken Valley