Creating importable applications

You can import student applications from an XML file using the Process Online Applications window. See Processing online applications in the Future students manual.

Create a web form on your site to collect information about student applicants and save it as an XML file. The file must use the specified XML schema so that Synergetic correctly understands what to do with the information. The XML file can list:

  • Multiple applications from different parents in one file. For example, the file may contain all the applications made within the past week.
  • Multiple students within a single application in the file. For example, a brother and sister applying at the same time.
  • Multiple contacts within a single application in the file. For example, two parents of the same student.

XML formatting

XML stores information in fields that are declared using angle brackets (<, >). Each field has an opening tag and a closing tag surrounding the information to be stored. Opening tags use just the field name in the angle brackets, while closing tags include a forward slash before the field name. For example, <FieldName>Your information goes here</FieldName>.

Note: In the schema below, data fields are displayed using the short form of <FieldName/>. This is equivalent to <FieldName></FieldName>. You can use this shorter version for any fields that you don't want to store data in. However, make sure you use both the opening and closing tags for fields for which you want to store information.

Some fields are used to store information about the student or contacts. These are called data fields. Information for data fields is stored between the opening and closing tags of the fields as in the above example.

Some fields are used to group data fields together so that Synergetic knows that this information all relates to the same student, or the same contact. These fields are container fields. In place of where you would type the data values, they have other fields. For example:

<ContainerFieldName>
<FieldName>Information goes here</FieldName>
<SecondFieldName>Information goes here</SecondFieldName>
</ContainerFieldName>

Note: XML field names must be typed exactly as shown and included in their correct container fields. Be careful not to add spaces to field names.

The XML schema

The XML file contains an XML declaration as its first line, and a container field called <OnlineImportApplications> that contains all the applications.

Each <Application> is composed of three sections:

  • information about the application itself, including any custom information you want to record
  • information about the contacts that the application contains
  • information about the students that the application is for.


Each <Contact> is composed of fields relating to the standard information Synergetic usually records about contacts.

Note: You can also include the fields <LivesWithFlag>, <ParentFlag>, <NormalMailFlag>, <ReportsFlag>, <CountryofBirthCode> and <SynergeticID> for each contact.

The <Addresses> field is a container field. A <Contact> may have several addresses within that field. Each <Address> has its own set of fields.

Each <Student> is composed of fields relating to the standard information Synergetic records about new students.

Note: You can also include the fields <CountryofBirthCode>, <IntendedTertiaryCourse> and <CountryOfApplication> for each student.

<EntryPreferences>, <Doctors> and <EmergencyContacts> are container fields. Each <Student> can have several of the following fields:

  • <EntryPreference>

 

  • <Doctor>

 

  • <EmergencyContact>.

 

You can also store custom information for each application, contact or student. <Customfields> must define both the field name and the information to be stored.