gCF is now public and ready to use in the add-on gallery. Read the launch announcement on my EdListen blog: http://www.edlisten.com/2014/06/announcing-gclassfolders-add-on.html
See Andrew's Post.
Andrew and I have started collaborating on Version 3. The script is going to be stripped down to improve performance and make it simpler to manage. One of the things we have agreed on is to remove "School Mode". While this worked in the code, App Script performance on Google's end could not handle what were asking it to do when you scaled it up to a whole school deployment.
I wanted to mention this now so as you plan for next year, you don't anticipate "School mode" as an option.
Heads up! I screwed up in my enthusiasm to help +JD Ferries-Rowe with speeding up the performance of gClassFolders in "School Mode" and made a change to one of the core functions that is used in a number of places within the script.
My error was that I forgot to update the bulkOperations.gs file to reflect the new arguments required by the function I modified...
@mrfrerichs (Twitter handle) helpfully pointed this out several days ago and it's taken me a moment to get to it...
For anyone who installed or upgraded to gClassFolders v2.1.0, my apologies, you need to replace your bulkOperations.gs file with the newer one...which is NOW in v2.1.1
In school mode: DO NOT DELETE YOUR SCRIPT -- instead copy-paste the new code over the relevant file (bulkOperations.gs in this case) and save. Get the code at https://raw.github.com/NewVisionsScripts/gClassFolders/master/bulkOperations.gs
In Teacher Mode: Might be easier to re-install from the gallery once this new release is re-published. Might not be until Tues or Wed. If you are impatient, go to the GitHub repository to get the code and follow teacher mode instructions instead.
+JD Ferries-Rowe encountered some major performance issues running "School mode" for a 700+ student school, which prompted me to spend some more time optimizing the code to trim out some of the extra function calls. This project still not where this needs to be to handle larger schools, but things are now much better...
Here's what's been fixed thanks to JD's persistence and willingness to report these issues to us:
1) A bunch (hundreds per folder-creation loop;) calls to CacheService were being used to handle our custom folder naming and internationalization in V2. Turns out that in aggregate, this was really bogging down performance. I found a better way to handle this so these calls happen once and the values are passed around to all functions that require them within the folder-creation loop.
2) A handful of extra calls to DocsList were happening in each loop as well. Found ways to trim these down with more efficient variable handling.
What to do if you want to update your code?
If you're running school mode, definitely DO NOT DELETE THE SCRIPT, as this will delete your folder database, which would be a bad thing.
Instead, you will need to copy and paste the code over all of your existing code files in the script editor (Tools->Script Editor). This is definitely not optimal (we know) but a consequence of the (still young) distribution platform that is Apps Script.
Here's a link to the GitHub repository where all of the code lives:
My compliments to Andrew for his connections at Google and for taking my script to the next level. gCF can now be found in the featured section of the Google Apps Script Gallery.
New tutorial created by John Graves of Slidespeech.com.
1-9 of 9