You are here: Reference > Rule types > Data Page rules > Passing parameters to data pages from non-UI rules

Passing parameters to data pages from non-UI rules

Non-UI rules from which you can pass parameters to data pages include:

Example usage

You have a data page named D_Customer, with parameters CustID and DetailLevel that let you specify the customer and the level of detail the instance of the data page holds, and reference the data page using this syntax:

D_Customer[CustID:myCustomer, DetailLevel:Full]

If the data page requires only a single parameter, you can provide the parameter without specifying the parameter name. If D_Customer has a single parameter, CustID, use this syntax:

D_Customer[myCustomer]

Note: The system accepts either of the above syntaxes to reference a data page only in a field where the Expression Builder is enabled. For example, you cannot use the syntax in the findPage() PublicAPI method.