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 .
×

custom sheet sandbox workflow and sheet.json field value syntax for files

Hi, I'm working on my first character sheet in a custom sheet sandbox. I see that there is a Sheet.json editor for in the sandbox, and I also so that when you "launch game", there is a "Sheet sandbox Tools" with buttons to upload 'html' , 'css' and 'translation' files. What I'm wondering is, can fields in sheet.json which refer to fields be URLs?&nbsp;&nbsp; for example { &nbsp; "html":&nbsp; "<a href="https://raw.github.com/someuser/somerepo/somebranch/path/to/file.html" rel="nofollow">https://raw.github.com/someuser/somerepo/somebranch/path/to/file.html</a>" &nbsp; "css":&nbsp; "ditto" } And if such a thing is possible, would refreshing a running roll20 game get the latest version of the html and css files - meaning that I could simply push out new versions to my repo and refresh?&nbsp; Or would I still have to quit game/re-launch game&nbsp; which doesn't make it any more efficient than uploading new versions of the files constantly. Anyway, I'm just wondering if such a scheme would work, and if not, if folks think this might be a good feature request.
1611294558
GiGs
Pro
Sheet Author
API Scripter
No, you cant do that. The sheet.Json section is for testing sheet.json files on upload to the github, and only supports the same entries that would work there. If you wanbt the latest version of the html/css/translation files, you always have to load them manually.
thanks for the quick&nbsp; feedback.&nbsp; I suppose constantly uploading new versions isn't *too* horrible
1611297700
GiGs
Pro
Sheet Author
API Scripter
loading a file manually is quicker than refreshing the campaign, so it's honestly better this way. The only time your approach would be better was if you made a bunch of changes to the files when offline, and then loaded the campaign up and they got the new files automatically. That would be a nice upgrade to the feature.