The Vault: Scripts
Card Designs • Card Design Backs • Forms & Policies • Job Descriptions • Off-Campus Programs
HR & Staff Management • System Exploration / RFPs / RFIs • Strategic Planning • Marketing Assets
Download scripts and custom code for platforms used within our industry, written and provided here by other NACCU members.
Share your own code with other members by uploading in .txt format using this short form. Please indicate the scripting language.
All shared code is provided AS IS without warranty of any kind. NACCU and members sharing their code and scripts are not liable for any negative effects that result from the use of provided code. It is your responsibility to ensure you have the skill required to customize code and ensure it is safe to run in your specific system and environment. Any provided code should be tested in a sandbox environment before using it in live/production applications.
Only members of NACCU have access to this page.
Your shared files will not be available to the public.
SCRIPTS AND CODE
NOTICE:
By downloading and using files from this page, you are indicating that you have read and agree to the above disclaimer.
Instant ID Custom Scripts
SetReadOnlyTrue.js: This script is used for fields that we don’t want to be editable by the user, but we do want to be editable by the scripts. If you set a field as read only in the workflow designer, the scripts cannot edit it, but if you set that field as read only in a script that runs on enrollment load, other scripts can continue to edit that field.
University of Victoria
AutoIssueDate.js: This does exactly what it sounds like and puts the current date (formatted DD/MM/YYYY) in a field.
University of Victoria
BadgeNameLoader.js: This copies the first and last name from read only fields (so TSE doesn’t change) to editable fields to customize what appears on ID badges (sometimes the last name is removed).
University of Victoria
FirstNameSelector.js: Is the one that does all the heavy lifting for taking first name, preferred first name, last name, the dropdown, and the full name to be printed and handles the logic (please note there is a bug in Instant ID < 8.6 where diacritics will break, so this script strips out all diacritics.)
University of Victoria
TCCustomLogging.js (webinar available in NACCU TV) – Custom logging of Instant ID printing to an external database
The Ohio State University
TCPrefName_Simple.js – Determines which name to print on the card (legal or preferred) based on a preferred name setting drop down field
The Ohio State University
TCStudBadgeISO.js – Forces the ISO pull setting and marks it read only in certain circumstances (For use with Transact ISO Pull in Instant ID)
The Ohio State University
TCUserIP.js – Pulls in the current username and IP address and places them in text fields within the workflow
The Ohio State University
TCCredentialComma.js - Concatenating last names and credentials (i.e. MD/DO/PhD/etc) into the last name field for printing if a credential is used
The Ohio State University