Download Client Release notes - Sprint 71 - December 05, 2014

Download Client Release notes - Sprint 71 - December 05, 2014

What's New

New downloadable fields

OPENAPPLY-2057

military_stationed_ca_ed

  1. New Question: "Is your assignment in California for educational purposes for 30 days or more?" (Radial buttons: Yes / No)
  2. Conditions:  Appears only if answer to “Currently Stationed in California” = Yes

New Download Functionality

Control the field length and add constants to delimited download formats

OPENAPPLY-1725OPENAPPLY-1727

  • Previously, in delimited download formats, all values trailing blanks in a downloaded value were trimmed by default.
  • The length of delimited value can now be controlled via the XML len attribute.
  • Constants can now be be added to a download format via the XML constant element.

 

len and constant are demonstrated in the following sample format

<?xml version="1.0" ?>
<formatDefinitions xmlns="http://xmlns.cccnext.org/xfer">
   
    <formatDefinition outputFormat="delimited" id="delimitedFormat">
        <fieldList>
            <field name="app_id" />
            
            <!-- Output firstname with trailing spaces trimed (default behavior) -->
            <field name="firstname"  />
            
            <!-- If lastname is shorter than 50 characters, right pad with spaces -->
            <field name="lastname"  len="50" />
            
            <!-- If middle name is longer than 10 characters, truncate to only 10 characters -->
            <field name="middlename" len="10" />
            
            <!-- include the following constant as a delimited value -->
            <constant>someconstant</constant>
            
        </fieldList>
    </formatDefinition>
</formatDefinitions>

Suppressing the time portion of a download file name

OPENAPPLY-1901 

Download file can be overwritten

If the time attribute is set to false and if more than one download job is run in a day, the file name of a previous download file can be overwritten by the contents of the of the latest download job run.

When a download job runs, the default behavior when creating file names is to:

  1. Prefix the file name with the value of the prefix attribute in the job file,
  2. Followed by the date and time (to the second),
  3. And then suffixed by the value in the suffix attribute

For example, based on the following job definition, if the job was run on December 11, 2014 at 1:57:30 PM the file name would be myDownload-141211-135730.txt.

<file directory="downloads" formatId="myFormat" prefix="myDownload" suffix=".txt"  />

 

When the time="false" attribute is added, as in the example below, if the job was run on December 11, 2014 at 1:57:30 PM the file name would be myDownload-141211.txt.

<file directory="downloads" formatId="myFormat" prefix="myDownload" time="false" suffix=".txt"  />

 

Getting the new download client

The new functionality described above for Sprint 71 for the new download client will only be available if you update your download client following the instructions below.

In your installed download client directory, replace the following files.

Make sure you backup your files before downloading new ones.

These links are also included in the following page:

NOTE:  For details on how to identify applications that may need to be reset for download, please "Resetting Applications for Download" for step by step instructions.