Search

 

Module: Editor

Version: 2.2.1 +

Type: String

Category: Document

 

Description

The formula 'ReadRequestParameter' returns the value of a parameter. This parameter can be included in the URL or in a batch command.
In a URL, a parameter can be defined by using a question mark, followed by the name of the parameter (for example http://servername/applicationname/?parameter=nameparameter). It is also possible to include more then one parameter in the url. The several parameters then have to be seperated by an ampersand (for example http://servername/applicationname/?parameter1=nameparameter1¶meter2=nameparameter2.

In a batch command, the requestparameters can be added as arguments in the command. As example, when a job has to be performed for 5000 entries, you can add the arguments "-begin=1" and "-end=5000". You should then use the ParameterKeys 'begin' and 'end' in your Futurama Document.

Parameters

ParameterKey:

Here you can refer or fill in the value from the URL or Batch.

Example

Description

In the first example we demonstrate the use of the formula with the example URL: 'localhost/Futurama43/?folder=Example&ReadMode=Expert'. In the ReadRequestParameter formula fill in 'ReadMode' for the ParameterKey property. The formula will then give the result 'Expert'. You can now use this outcome in actions, formulas etc.

Values Parameters

ParameterKey:

ReadMode

Result

Result when the URL 'localhost/Futurama43/?folder=Example&ReadMode=Expert' is used:

Expert

As example you can use this reading result in a boolean formule: If boolean

Logical_test:

'ReadRequestParameter'=Expert

Value_if_true:

Behaviour when in Expert mode

Value_if_false:

Behaviour when not in Expert mode

Updated: 2013-04-14