A somewhat-ok way to convert a two or three column CSV file to a XML file used by Follett Destiny to import resources.
One sunny summer day, my boss came up to me and said "Hey, we're going to get an order of 330 Chromebooks. We need to scan and add them to destiny." I winced at the fact that I would be laboring for weeks adding Chromebooks one at a time to our inventory. I knew there was a program developed by Follet for this purpose, however, I do not have access to it. So, I went off on an adventure on making a program to convert my massive list of Chromebooks and their MAC addresses into a singular, dense XML file used to upload into Follett Destiny.
Easy! Just follow the steps below.
- Create your CSV file, with up to three columns
- Row 1 is the Serial Number for the item.
- (optional) Row 2 is the MAC address.
- (optional) Row 3 can be used as the District Identified.
- Compile + Run the program
- Select your resource type
- Click "Browse"
- Select your CSV file
- Configure additional options, availabilty, condition, and purchase order
- click "Convert"
- If it's a success, you will have a file named
DestinyConversion.xml
in the same directory as your csv file.
In Resources/itemInfo.csv
, you can add as many items as you want. The format is the following:
<location>,<description>,<model>,<manufacturer>,<price>
- The
location
is found by looking at the text below "Description" in your item entry in Destiny. - The other fields are listed as-is in the item entry.
- The
- None known as of now, probably a ton.
- Add releases to GitHub
- Testing
- A better way of storing resource types
- A way to save-to a location
- An icon
- Refactor the code base to make it much less ugly.
Please make an issue in the Issues page.