Configuring View Forms for the Self Service Portal
The Self Service Portal uses View Forms to display the details of existing objects: Approval Requests, Computers, Hardware, Incidents, Library Items, Reservations, Service Catalog Items, and Service Requests.
NOTE: The appearance of Announcements and Knowledge Base Articles in the Self Service Portal is controlled using standard cascading style sheet (CSS) rules. For instructions, see Customizing KB Article styles.
Unlike standard Action Forms that you use in interactive actions, View Forms do not require user input, they only display object attributes. That is why read-only View Forms do not support some features of other Forms, such as wizard style or validation rules for entered values. Click here to view an example of a View Form.
A View Form contains object fields, including virtual fields:
-
Physical fields represent object properties and are directly related to data fields in the database, such as Incident's Status, Submit Date, or Summary.
-
Virtual fields are temporary fields for displaying dynamic content (macros and field values of other objects). For example, the View Form for Computers may display the Asset Tag value of the Asset associated with the current Computer.
If your View Form has many fields, you may want to divide it into sections to make it easier to read. Each section would have a caption and individual text, if needed. You can control the visibility of each section using a condition, a logical operation based on object field values and system macros. When the View Form opens, Alloy Navigator checks the section condition, and displays the section only when the condition is true.
You configure the View Form for a particular object class in the Self Service Portal > Workflow section, under [Object Class] > View Form.
To configure a View Form:
-
Specify the general properties of the View Form:
-
Object (read-only) - the object class for which the View Form is created.
-
Name - the View Form name.
-
Description - the View Form description.
-
Under Fields, specify the View Form contents: fields, sections, and text.
-
New - click and select the element to add to the Form:
-
Field - brings up the Form Field window, where you can configure a new field on the View Form.
-
Section - brings up the Section window, where you can configure a new section for the View Form.
-
Text - brings up the Text window, where you can specify static or linked text to be displayed on the View Form.
-
Edit - opens the Form Field window, Section window, or Text window, where you can modify the selected field, section caption, or text.
-
Delete - deletes the selected field, section separator, or text.
-
Move Up / Move Down - moves the selected field, section separator, or text up or down on the View Form.
NOTE: When you move or delete a section, you move or delete only the separator but not the fields.
-
Click OK.