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 .
×
Create a free account

Editing default token of a journal?

1429171326

Edited 1429172920
Kryx
Pro
Sheet Author
API Scripter
I remember reading a post a few days back that it was not possible to set the default token on a journal via API. I however see "_defaulttoken" on the wiki: <a href="https://wiki.roll20.net/API:Objects#Character" rel="nofollow">https://wiki.roll20.net/API:Objects#Character</a> . It doesn't say readonly, but it has an underscore beforehand so I assume it is. Is there any way to editable the default token?
1429194404
The Aaron
Pro
API Scripter
I'll assume you mean edit with the API and not give the obvious snide remark. =D The API can't currently change that token. At the time _defaulttoken was added, Riley mentioned the possibility of allowing edit to it at a future point. _defaulttoken hasn't seen the use we scripters hoped to put it to yet, but I have a feeling that coming changes may allow it to start shining as it was meant to.
1429194461
The Aaron
Roll20 Production Team
API Scripter
(Fixed the wiki)
1429197341

Edited 1429197442
Kryx
Pro
Sheet Author
API Scripter
The Aaron said: I'll assume you mean edit with the API and not give the obvious snide remark. =D Well I did post this on the API forum! ;) The Aaron said: The API can't currently change that token. At the time _defaulttoken was added, Riley mentioned the possibility of allowing edit to it at a future point. _defaulttoken hasn't seen the use we scripters hoped to put it to yet, but I have a feeling that coming changes may allow it to start shining as it was meant to. Bummer. It would greatly help any import scripts. For now people will have to manually do it. Coming changes? Is this on the radar or should I post a suggestion? I assume it'll just get lost there. :( Thanks for fixing the wiki.
1429199512
The Aaron
Pro
API Scripter
Well, with the new sorting options for the Suggestions & Ideas Forum, it should be easier than ever to get new suggestions seen by other users!
1429202634
Kryx
Pro
Sheet Author
API Scripter
Great info! Though you didn't answer the question - you worded it as though it was already being worked on. Is it?
1429205602
The Aaron
Pro
API Scripter
Not that I know of, but I know there are changes for the API coming. =D