Configuration

Configuration files are files that can augment / improve the control you have over the functionality in the form beyond the settings. For the Discounts and exemptions form, there are two files.

Configuration files are generally in XML format and so please ensure the XML file is still valid when you finish your edits. You can check an XML file is valid using the following:

https://www.samltool.com/prettyprint.php

configuration/exemptiontypes.xml

The file contains details of exemption types available

//<?xml version="1.0" encoding="utf-8" ?>

<ExemptionTypes>
  <Item>
    <name>AnchorTrust</name>
    <value>Anchor Trust</value>
  </Item>

  <Item>
    <name>ASRAHousingAssociation</name>
    <value>ASRA Housing Association Ltd</value>
  </Item>
  
  <Item>
    <name>ExtraCareCharitableTrust</name>
    <value>ExtraCare Charitable Trust</value>
  </Item>

  <Item>
    <name>OrganisationNotInList</name>
    <value>My organisation is not in this list</value>
  </Item>
</ExemptionTypes>

configuration/reductionstatusmappings.xml

Example file

The file contains a section for each drop down option.

Last updated

Was this helpful?