Astra Schedule supports custom fields that can be used on specific record types. The custom field allows you to gather and display information that is important to your institution and schedulers but is not provided by default in the Astra Schedule application.
Once custom fields are defined, they are available for use on the record of that type.
|
|
|
|
|
|
|
|
|
Field Types
The Field Type and Control Type dictates the type of field that will be added to the form:
Text/TextField: creates a single field into which text may be entered.
Text/TextBox: creates a larger text entry field with multiple lines.
Text/Hidden: can be used if there is a certain data element that is desired for reporting, export, or some other process but is not intended to be a visible, editable field in the record. This data would need to be populated using the Astra Schedule ATE import process with a custom spoke file and then consumed by some other custom object.
Display Text/URL: creates a hyperlink to an external site that will appear on each record. For example, a link could be created to make additional documents available from within a request form or other record type.
Display Text/DisplayOnly: adds static, informative text to a particular record type.
MultiChoice/DropDownList: drop-down list field with specific options.
YesNo/CheckBox: adds a yes-or-no option indicated by checkboxes.
Add Custom Fields
- Click on the Settings tab.
- Click on Custom Fields.
- Select Type from the drop-down menu to designate the form it will be added to.
- Click Add to add a new custom field to the selected form.
- Select a Field Type from the drop-down list.
- If applicable, select a Control Type from the drop-down list.
- Enter a Display Label for the custom field. This value will be the name of the field on the section or section meeting record.
- Form Area: the area on the form the field will be displayed.
- Field Priority: the position of the field on the form.
- Values (if Filed Type = MultiChoice): enter choice values and use the Add button to place them on the list. The arrow buttons allow the values to be re-positioned as desired.
- Width(%): the width as a percentage of the overall page width
- Height(rows): the row Height of text.
- Required: the new custom field is required before the record can be saved.
- Read Only: displays the text only and not an input field.
- Click Ok at the bottom to add the custom field. Custom fields will automatically appear on the record types for which they were defined.
Section Custom Field Containing URL Token
One special, technical use case for custom fields on a record involves creating a custom field on the section form that contains a URL that links to a separate application. This URL must contain information about the section record that is passed to the application. In this scenario tokens can be specified in the custom field that Astra Schedule will replace with the actual values for the specific section or meeting that is being displayed.
This use case is supported with section and section meeting custom fields.
The following tokens (beginning with $) are allowed:
- Section meeting values
$sectionmeetingid
$sectionmeetingsiskey
- Term values
$termname
$termsiskey
- Course values
$coursenumber
$coursename
$coursesiskey
- Subject values
$subjectcode
$subjectsiskey
- Section values
$sectionid
$sectionnumber
$sectionsiskey
- Campus values
$campusname
$campussiskey
$campusid
Example, a custom display-only URL Custom Field with the value:
http://hostname/appname/page?subject=$subjectcode&course=$coursenumber§ionnumber=$sectionnumber&term=$termname&campus=$campusname
will be rendered on the page with the tokens replaced with values from the database, similar to this:
http://hostname/appname/page?subject=ACCTG&course=100§ionnumber=A&term=2011SP&campus=MAIN
Comments
Please sign in to leave a comment.