There are a number of examples which illustrate use of the location.generate function with “$sys.assemblyitem”, which should be “$sys.assemblyItem” (with an uppercase I). I was getting an error when trying this in a template and then I remembered seeing it the FF templates.
You are correct. I have logged an issue to correct this error; it should be included in the next release.
RLJII