Creating or configuring forms > Configuring the <queue> element

6.3 Configuring the <queue> element

Many forms may have a queue, or a client-side request queue to store unsubmitted data. For example with Create VPC, the request queue would contain a collection of reservations the user wishes to create. For submit job, the queue may contain a collection of jobs that will be submitted upon page submission. The queue element defines what data is stored in the queue and the interface for the request queue, which is the list of items generated when a user clicks Add To Request. The following image is an example of how the queue might look in the create VPC page if the user wants two reservations in their desired VPC:

To configure the queue element

  1. Open the configurable XML file corresponding to the form you want to edit, usually located in the Viewpoint home directory. Locate the <queue> element.
  2. Add the name attribute to specify the text displayed at the top of the queue.
  3. The preceding example was configured with the following XML as the top line:

    <queue name="Your Current Request">

  4. Specify what queue data is stored. See Defining what data is stored in the queue.
  5. Define the queue interface. See Defining the queue interface.
  6. Define what data is required. See Specifying which queue data is required.

Related topics