Welcome to blog series part 12 of 17 on migrating Notes apps to DOCOVA.  In this entry it’s all about multi-value fields.

Notes had the concept of multi-value fields on forms.  All fields were basically treated as arrays of values.  For example when addressing field values in LotusScript, you might write some code like;

Dim myval = doc.myfield(0)  (where doc is a NotesDocument)

Although it’s a bit of an odd duck, DOCOVA supports the same type of addressing when it comes to form fields.  It’s easier to migrate the code over and easy for Notes developers to quickly understand and use. Thus something like doc.myfield(0) is translated into doc.getfield(“myfield”)[0] in JavaScript.

Or, for a list of fields;
Var myfields = doc.getFields(myfieldlist) and get the field with myfields.myfieldname[0]

One additional important note as it relates to multi-value fields is that if a multi-value field is used in a view column, DOCOVA “views” support the “Show multiple values as separate entries” option.  From a techy point of view, in a relational database environment, I should be able to hear people saying “wow” right about now.

Comment below!

You can fast-track and get all the whitepapers on our migration methodology and everything that is being discussed in this series of posts.  Specifically, you can get the DOCOVA Notes/Domino Migration Methodology – MIGRATE whitepaper