#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Make "JavaScript is invalid" error messages more helpful and guiding for the citizien developer

Every citizen developer will come to the point, he or she has to use JavaScript. Even in the step-by-step tutorial (2nd part with tables), one has to use JavaScript to handle the selection of a row of the table.

And - I think - a citizen developer will use search machines a lot to get code pieces to copy and paste, not exactly knowing why and how this works.

In this situation, helpful and guiding error messages in the JavaScript code editor are essential to not frustrate the people.

For example:

By default, secureJS is activated. Therefore, the [] operator to get an array element is "banned". The error message in the current version of Volt is: "JavaScript is invalid - Reason: Illegal operator [".

More helpful and guiding would be: "JavaScript is invalid because secureJS is activated - Reason: The [] is forbidden by secureJS rules, use get() instead." And a "Details" or "More" button or link to open the documentation of the secureJS restrictions.

This way, all developers (citizen or pro-coder) will get working apps faster and will be less frustrated.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 25 2020
  • Future consideration
  • Attach files