Skip to content

Google Apps Script code to process and log the temporary loans of IT equipment from the HCI IT Department

Notifications You must be signed in to change notification settings

asdiml/hci-it-temp-loan-form

Repository files navigation

Overview

The HC College IT Temporary Loan Apps Script is a container-bound script that creates a linked Google Sheets document as its “backend” database to the Google Form it is bound to. Additionally, the script needs to be deployed as a web application that functions as an endpoint for both borrowers and issuers.

From here on, all references to the “database” refer to the Google Sheets document linked to the Google Form the script is bound to.

Initialisation

  1. Create a versioned Web App deployment (refer to instructions by Google here)
  2. In the script’s App.gs file, line 44, paste the deployment URL into the this.url string

Deployment URL Insertion Point

  1. Start loaning equipment and filling in the form (see the Flow section below)!

Flow

Equipment Loan Out

  1. HCI IT Staff fills out the Google form with details of the loan

Google Form Screenshot

  1. The borrower will receive an email to with a link to acknowledge the loan (the borrower will only be able to access the page when logged in with his/her HCI Gmail account)

Borrower Loan Acknowledgement

  1. Upon borrower acknowledgement, the issuer will receive an email as a receipt

Borrower Loan Receipt

Equipment Return

  1. Upon confirmation that all equipment has been returned in good condition, relevant HCI IT staff visits the website URL mentioned in step 2 of Initialisation to search for the loans by the borrower’s email:

Loan Search Page

  1. Returning the loan is then as easy as clicking on the “Return” button on the desired loan

Loan Search Results

References

This project was adapted from the GAS-070 project by Ashton Fei (YouTube).

Further Documentation

For further documentation about this project's design, see documentation.md.

About

Google Apps Script code to process and log the temporary loans of IT equipment from the HCI IT Department

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published