Home > Working with Application Pages > Understanding Page Computat... > Creating a Page Computation
Previous |
Next |
A page computation assigns a value to an identified item when a page is displayed or submitted (rendered and processed).You create a page computation by running the Create Page Computation Wizard. For each computation, specify the item for which you are creating the computation and a computation type.
To create a page computation:
Navigate to the appropriate Page Definition. See "Accessing the Page Definition".
Access the Create Computation Wizard:
Tree view - Under the appropriate event, locate Computations. Right-click and select Create.
Component view - Under Computations, click the Create icon.
For Item Type, select where the computation will execute and click Next. Location options include:
Item on Another Page
Item on This Page
Application Level Item
For Item, select the item and computation point at which you would like to perform the computation:
Compute Item - Select the item the computation will update.
Sequence - Select the order of evaluation.
Computation Point - Select the point at which the computation executes. The computation point On New Instance executes the computation when a new session (or instance) is generated.
Computation Type - Select the method of computation you want to create.
Click Next.
In Computation, enter a computation that corresponds to the selected computation type and click Next.
On Condition, you can choose to make the computation conditional. To make a computation conditional, make a selection from the Condition Type list and enter text in the expression fields.
Click Create.