Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Are there any function calls to get access to the State object or even handouts for data lookup? Currently I'm handling this in the API, but I'd like to move it into Sheet Worker Scripts.
If these scripts are running clientside, is it possible to make an AJAX call out to a web service to get the information we need? I already have a web application that we use to manage all of our information. Exposing that information through a web service would be simple enough.
Sheet workers are sandboxed to prevent access to exterior sites as a security measure. Probably embedding the data you want access to in a JavaScript object in the sheet worker is the best way to have it available.