Custom Workflows with JavaScript


Although your KeyServer contains a wealth of information about the computers on your network (and the software installed on them), some read/write actions can only be performed one-at-a-time in the default interface. But did you know that KeyConfigure allows you to install custom JavaScript “plug-ins” that will perform bulk actions all at once? Not only can you build your own (click here for instructions), but a list of general use scripts we’ve created is available on our website here.
To give you an idea of the kinds of actions and custom workflows that can be built with JavaScript in KeyConfigure, here are a few examples from the page linked above:
- The List Computers script will take a list of computer names from a text file and open a new window containing the associated computer records.
- After “selecting” a list of computers with the script above, the Move Computers script allows you to change the Login Type, Division, Lifecycle Stage, and/or Anchor status for the listed computers en masse.
- Like a “Reverse Audit” report, the Computers Without Product script allows you to list all the computers on your KeyServer that do not have a selected product installed.
- Brand new are the Gather Dell Dates and Lookup Lenovo Warranty Date scripts, which allow you to retrieve and populate warranty date fields in KeyServer for selected computers, by automatically querying the manufacturer’s website with the required serial numbers.
- If you have a number of computers that you want to remove a tag from, but don’t want to delete the tag from your system entirely, the Remove Tags script allows that bulk action.
Many other pre-built scripts are available as well. Just click the Install link next to the script you want to download and install it directly into KeyConfigure locally, or onto the KeyServer itself, with just a couple of clicks. If you have any questions about how to use any of the scripts provided, or if you have an idea for a script that you’d like to build and have questions or would like guidance, feel free to reach out to us at support@sassafras.com, or call us at 603-643-3351.
Author: Jason Schackai
Training and implementation specialist by day, user experience designer by night, Jason helps users learn the ropes of Sassafras, while mining their difficulties for ways to improve the product. As his father once told him: “Join me, and I will complete your training. With our combined strength, we can end this destructive conflict and bring order to the galaxy!”
Site Search
Documentation Search
Categories

Social
Subscribe
| Thank you for Signing Up |


Laurie Larson Princeton UniversityRecently had a request to know how much downtime the Administrative keyServer has had in the past year and was able to say, “What downtime?” Last week, installed a seat-count license upgrade for the Academic KeyServer and took both servers to the latest release, and nobody noticed. Happy customers, happy sysadmin.
Hamish Hamilton The University of WaikatoThrough the use of Sassafras and implementing ITAM practices, The University of Waikato ITS team has been able to reduce the overall computer fleet by 10%, resulting in significant CAPEX and operational savings. This has also led to a lot of new device intelligence in identifying users with multiple devices and more closely associating users with devices, software, and departments in the organisation. We like the automated reporting of usage data and the functionality that Sassafras gives us to help us with good ITAM practices.











