Creating Linked Views

You can create links from your site directly into any Gatsby Database Explorer view.  When the user exits Gatsby using the return, exit or cancel button, they will be returned to your site.  There are a variety of parameters you can pass in the query string to affect the Gatsby view.  For example, the following URL creates a submit form.

http://localhost/gatsby/default.asp?action=new&path=/Intranet/Staff&scope=form&bgcolor=gray

Query String Parameters

The following table describes the parameters available for customizing Gatsby in the query string.

Parameter Description

Scope

The scope parameter limits the navigation of the view. This should not be used in lieu of database security. Users will still have the ability to make changes based upon their privileges.

Value Description

Database

Navigation is limited to the database

View

Navigation is limited to the current view

Node

Navigation is limited to the current record

Form

The raw view without any application adornments

OnSuccess

This specifies that Gatsby will redirect to after successfully processing a request. When OnSuccess is specified, an action parameter is not necessary.

OnError

OnError is useful if you have saved the HTML of a Gatsby view for customization. OnError provides a way to handle errors for your static pages.

BgColor

Specifies a background color. You can specify an valid HTML color. If you are specifying a color in the form of #ffffff you will want to either drop the # or encode it as <hash>ffffff.

BgImage

Specifies the url to a background image.

Splash

Specify a value of "no" to suppress the splash screen. Splash is automatically set to "no" if a scope is specified.

Encoding Parameter Values

Gatsby encodes certain characters in parameter values since they have special meanings in URLs. Be sure to encode your parameter values using these encodings.

Character Encoding

&

<amp>

?

<qmark>

#

<hash>

Parameter Reflection

If you include a parameter in the query, even one that Gatsby does not recognize, it will be carried along in the URL with each request.