granth

Widget Config.json file names no longer reference widget

Discussion created by granth on May 7, 2018
Latest reply on May 7, 2018 by rscheitlin

I just noticed that from WAB 2.7 it appears to be using a new way of naming the app config files. 
In previous versions the files in the `apps/~/configs` directory had the name of the widget (eg "config_Print.json", now they seem to be named "config__5.json" (or some other number) instead. This may be related to the fact that they are  formatted as a single line, which I assume is for performance (smaller file size). 

Although not an issue per se, it can make things a bit more confusing when editing the files directly once hosted on a server. I admit I sometimes have several of these json files open at at time and the name helped to clarify which one was which!

A note: I use Notepad++ frequently for these edits, and the JSTools plugin is very handy for formatting (expanding) the json file into an easy to read style for editing variables, then reversing it with the min tool to keep it small for performance. 

Outcomes