Saving code in CSV format? Who does that?
Please make it possible to export/import attribute rules in JSON format, so that it is practical to commit it to a code repository and treat it like code.
This will make rules more portable to future versions of products too.
It would probably be a lot easier to share them too.
Great Idea!
Example of the problem. Multiple lines allowed in the value scriptexpression CSV row due to my rules having carriage returns and indentation. By using JSON this could be encapsulated and handled better.
This is a really good idea. As I write more Attribute Rules for my databases, I find myself wanting for a way to keep them under version control in git. I briefly considered using the CSV export, but took one look at the resulting file and decided it would be more trouble than it's worth. For now, I am keeping my rules in git as .js files so I get some syntax highlighting, but it would be very nice to have a format that we could export from and import to the database using a GP tool. JSON seems like a good choice, certainly would be easier to work with than CSV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.