Ich liebe Lotus Domino

„If multiple items in a document have the same name, programmatic access is limited to the first item. […] A work-around is to get the first item, process it, remove it, again get the first item (which was the second item), and so on until you process all the items with the same name. […] However, the recommendation is that you avoid creating multiple items with the same name.“

(aus offizieller Domino Doku)

2 Comments +

  1. Da fragt man sich doch als normal denkender Mensch (ne, Informatiker):Warum kann man in einem Dokument, welches ja in Notes/Domino die Entitaet ist, die das Entwicklungsmodell bestimmt, ueberhaupt mehrere Items mit dem gleichen Namen definieren kann…Compiler Error Fehlanzeige?

  2. der Grund warum mehrere Items mit demselben key existieren können, bleibt mir schleierhaft, zumal es ja multiple valued items gibt (soz. array-Werte). Mittlerweile wohl auf alle Fälle legacy würd ich sagen…

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert