#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

Extend GetItemValue() function

In a large part of my LS code, I always have to use HasItem() to check whether the item really exists. It would be nice if an optional parameter could be passed that returns a default value if the item doesn't exist.

  • Guest
  • Apr 29 2022
  • Under Consideration
  • Attach files
  • Guest commented
    12 May 11:52am

    Nice idea.


    However, if you access a non-existing field in a document, you get an empty string returned. In other words you need HasItem() only, if you want to check, if the field really exists. this way you can simulate NULL-values.

  • Guest commented
    29 Apr 02:30pm

    Good idea. They could just bring the Javascript type-specific calls (e.g., getItemValueArray, getItemValueString, etc.) to Lotusscript as this is how those calls work (i.e., return a default value).