what is \$sp in widget and where can I find more info on this?

thedas
Giga Contributor

What is $sp in widget and where can I find more info on this?

I tried cloning the KB Categories - KBv3 OOB widget and created a custom one with same code.
But it is not working at all.

6 REPLIES 6

ericjackson
Tera Guru

GlideSPScriptable is what you (and I) have been searching for!



$sp is a global object used to access various GlideSPScriptable methods that allow you to perform various functions. More info can be found on the SN docs site here.



Hopefully this helps you or davilu find what you need!


Jace Benson
Mega Sage

$sp has a number of undocumented functions.  I've written about them on my blog and in at least one post here.

https://blog.jacebenson.com/sp/ (deadlink)

https://sn.jace.pro/classes/glidespscriptable/