Page 1 of 1

Designer Suggestion - Formated JSON Source View

Posted: Fri Jan 03, 2014 5:46 pm
by SDeanD
This is just a suggestion.

but, it would be helpful to have a Good Source viewer of the formatted JSON data. to Easily find and replace settings in mass. When you want to just Find and replace or insert some settings in mass. quickly.

The DDS source is poorly formatted for this.

It would be similar to the feature in Visual Studio where you can see the actual screen code. or OLD DDS where you can use sda or see the source data with SEU.

I find looking through all the fields click by click to be pretty slow and hard to find at times.

The new DDS Changes for source coming may allow for this feature soon.

Thanks,
Dean

Re: Designer Suggestion - Formated JSON Source View

Posted: Fri Jan 03, 2014 6:09 pm
by David
We can certainly consider a source view, I'm not aware of anything that would make it technically 'not workable' for us to do something like that.

In the meanwhile, a couple of ideas:

1. You can export the source to a nice JSON file. Try Save As, then click the local tab. This will download it to your PC. It will produce nicely formatted JSON that you can search/replace in. You can then open it back up in the designer (need a newer version of IE or a diff browser for this) by using Open, and then the Local File tab. You can then save it back to a source member, and the DDS will be regenerated.

2. Using multiple selection in the designer is good for things like this, depending on what you have in mind. For example, you can change the 'css class' of 100 widgets pretty easily by selecting them all at once. The properties window will set all the selected widgets.

Hope this helps!