9 64 DOM_DELETE_ITEM

LANSA Technical

9.64 DOM_DELETE_ITEM

Þ Note: Built-In Function Rules.

Deletes an item from an open document/data note using the item name. The named item is deleted from the in-memory copy of the document until the DOM_UPDATE_DOCUMENT Built-In Function is used to update the document/note in the database.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Document/Data Note handle

4

4

 

 

2

A

Req

Item name in the document whose value is  to be deleted.

1

65

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = Item value successfully deleted.

ER = Item not deleted.

NF = Item value not found.

2

2

 

 

 

 

Example

Refer to these Domino Built-In Function Examples:

Example 4: Updating Documents selected from a Browselist

Technical Notes

This Built-In Function uses the standard Lotus Notes APIs NSFItemIsPresent and NSFItemDelete. All security and integrity issues related to the use of this Built-In Function are according to normal Lotus Notes API use for the current platform.