Please complete the details below then remove this line:
Domino/Notes Version:9,10,11,12,13,14
Notes client
Problem/Query:
I am still confused and may have missed some document or powerpoint…
In Domino Designer, for example, you can differentiate between JavaScript and Common JavaScript in various places in a form (not XPage!). Unfortunately, nowhere in the current documentation is it explained what the difference is, which JavaScript version is used, and what restrictions have been imposed on JavaScript/Common JavaScript.
Some documentation would be great. Was there ever any?
Hello. Welcome to this community.
“Common JavaScript” is available for both Notes client and the web browser.
“JavaScript” is only valid for the web browser.
Notes client can use JavaScript in addition to formula language and LotusScript!
Regards,
Shigemitsu
Thank you for the feedback. The issue is we don’t have any information about restrictions, differences, etc. There was something in a Notes book, I believe “Domino Designer 8 programming handbook” or a title like that, but we have not found any copy anywhere.
Hi Christhope,
Common.js is just a way of importing and using JavaScript files. It doesn’t tell anything about the features that you can use. The major differences are in the way of importing files, require vs import. If you want to know what features you can use, you should refer to the JavaScript 1.2 docs. This is (as far as I know) the latest version used in the Notes client.
Keep in mind that browsers support much newer versions of JavaScript, but those can’t be edited in a script file and should be added through File resources instead.
Nathan