Altering document structures
One of the great advantages of Domino over relational databases is its variable document structure. As stated before, a document can contain (almost) any number of fields. The user is always free to add or remove fields to/from a document. This feature allows the implementation of very dynamic information exchange applications.
To support this flexibility VA Smalltalk Domino Connection implements a number of methods to change document structure. Use the deleteItem: method to remove not only the contents of an item but also its actual existence in the document. To append fields to a document you can choose from the following messages:
• addTextName:
• addTextListNamed:
• addNumberNamed:
• addCompositeNamed:
• addTimeDateNamed:
• addNumberRangeNamed:
Note:
Changes to the document structure become persistent only when a document is stored. Use the store method with your AbtLnNote instance to save the changes.
Last modified date: 01/29/2015