NotesDocument.GetAttachment()
Находит в документе вложенный файл по имени.
Результат: Объект (NotesEmbedded)
Синтаксис
GetAttachment( file )
Аргументы
filestring
Имя файла
Пример
метод объекта NotesDocument
session = new NotesSession;
db = session.GetDatabase( '', 'resume_inet_1.nsf' );
view = db.GetView( 'PersonsByKey' );
for ( doc in view ) { alert( doc.GetItemStrValue( 'Form' ) );
break;
}
session = new NotesSession;
db = session.GetDatabase( '', 'resume_inet_1.nsf' );
view = db.GetView( 'PersonsByKey' );
for ( doc in view ) { alert( doc.GetItemStrValue( 'Form' ) );
break;
}