Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 3. VERY IMPORTANT! You can convert from low-code to real code only, not the other way! You can NOT go back! That is, you can NOT convert from real code back to low-code. So, after you see the real code show up on the next step, do NOT save the module file, if you want to keep it as low-code.
  • 4. The "real" PJS code is shown below:

  • 5. Copy/paste that code to somewhere (e.g. Notepad++) and save it.
  • 6. Close the file. Do NOT save it! If you save it, your module now will contain real code, not low-code anymore.
  • 7. Now, create a new web service with the code saved in step (5) above, with some minor adjustments, so that you can call it from a browser and debug it. Refer to here to see how to create a web service.
  • 8. Click New/Javascript file.
  • 9. Enter the code below. This is pretty much the same as the code you saved in step (5) above, but changed so that it can be called as a web service from the browser, so you can debug it easily.

...