I would like to thank Simon Ponder of Purdue's Informatics group for sharing his code on which I based the below upon. Hopefully, this post will give others looking to create their own custom template variables in Blackboard Learn enough information to get started.
To start off, we have to define our plugin as a java extension in the bb-manifest.xml file like so:
<?xml version="1.0" encoding="utf-8"?> <plugin> <name value="bsTemplateVar" /> <handle value="bs-template-var" /> <description value="Brett's Custom Template Variable" /> <default-locale value="en_US" /> <webapp-type value="javaext"/> ... </plugin>