Previous Topic

Book Contents

Book Index

Next Topic

Parameter Based on an Object Type

Another parameter in the Beamer Reservation offer will add the possibility to choose a room in which the beamer should be installed. As all rooms in the company should already be registered as objects of the 'Location - Room' object type, the object type can be used as basis for the parameter.

  1. Click 'Define Parameter' in the 'Parameters' section of the 'Shop Offer' editor. The 'Define Parameter' dialog opens.
  2. In the 'Define Parameter' dialog, select 'Choice' and then 'Values or Objects'.
  3. In the 'Search value sets and object types' field, type a search term likely to lead to the desired object type. In our use case, let's type 'room'. Click 'Ok' in the 'Define Parameter' dialog.
  4. If the above mentioned 'Location - Room' object type does exist, it will be listed in the browser window which opens. Select it and click 'Ok'.
  5. A new parameter definition window opens with some attributes prefilled for the 'Location - Room' parameter. Possible values are represented by a validity condition (only currently valid rooms are offered). Button 'Show list of possible values' next to the 'Possible Values' field can be used to preview all values fulfilling the condition.

    Fill in relevant parameter attributes as described in the previous topics and click 'Ok' to save the parameter.

At this point, we have three parameters defined in the offer: data cable length, data cable type and location.

Help Image
Beamer Reservation - first three parameters defined

See Also

An Offer With Local Parameters

Local Simple List Parameter

Local Value Set Parameter

Parameter Based on a Standard Value Set

Attachments Parameter

Special Text Parameters