Is it possible to store the session scripts from Perspective as js (or json) rather than .bin?

Basically, asking if there's a way to set ResourceEncoding in the same way as you can for Vision

Which resource exactly are you asking about (path on file system)? Odds are it's already been converted to JSON for 8.3.

projects\[Project_name]\com.inductiveautomation.perspective\session-scripts

Looks like JSON in 8.3.

1 Like

As a fun bit of history, despite being saved as data.bin files, session event scripts in particular are actually utf-8 JSON on disk even in 8.1. The storage format is different in 8.3 (and much more pleasant to interact with) but if you just convince your editor they're a text file you can edit them now.

2 Likes

...wow, I'm losing my touch for not detecting that :slight_smile: