Setting up alphanumeric (ALN) domain lookup for an offering dialog
You use the alphanumeric (ALN) domain when you want to set up an attribute with a fixed set of alphanumeric values that the user must choose from.
Procedure
- Go to System Configuration > Platform Configuration > Domains.
- Click Add New Domain and select Add New ALN
Domain. The ALN Domain dialog is displayed.
- Click New Row to add values.
- Fill in the required fields, and click OK to save your values and return to the Domains application screen.
- Click Save.
- Next go to the Offerings application, and select the Add/Modify Attribute action.
- Click New Row, and fill in the Attribute,
Data Type, Domain, and
Organization fields.
The data type is "ALN", and the domain is the name of the domain you just created.
- Place the cursor in the Offering field and type the ID of the offering you want to add the attribute to, or press 'Enter' to see the full list of offerings.
- Click the offering ID.
- Click the Change Status action.
The Change Status dialog is displayed.
- Change the status to Planning, and select Roll New Status to Organizations?.
- Click OK.
- Click the Specifications tab, and select the attribute you just created in by clicking the lookup icon in the Attribute field.
- Click Save to save the offering.
- Change the status of the offering to Active, and select the Roll New Status to Organizations? check box.
- Click OK.
- If your offering has a custom dialog, add the
lookup="valuelist"
parameter to the application XML for your custom dialog.This must be done by opening the dialog in Application Designer for edit, adding a new attribute, and setting the attribute properties for lookup.For example:
<textbox dataattribute="aln1" id="id1" label="Attribute 1" lookup='VALUELIST'/>
Note:You can also change the attribute line to use a combobox instead of a textbox per the following example:
<combobox dataattribute="aln1" id="id1" label="Attribute 1" lookup="VALUELIST">