Unable to get the DspStatus Field in the Task document properties.
Posted
by Pari
on Stack Overflow
See other posts from Stack Overflow
or by Pari
Published on 2010-03-25T12:10:47Z
Indexed on
2010/03/25
12:13 UTC
Read the original article
Hit count: 333
lotus-notes
|c#
Hi, I am using Interop.Domino.dll API to read the NSF file and able to read the properties of the Task Document.
When i view the Task Document properties in the Lotus Notes, i am able to view the Status Field, Importance Field and few others, but when i programatically dump all the Field Names and their values i am unable to get few of them as mentioned above.
So, how to get all the Field Names and their values as i iterate through all the document properties. Is this the problem of IBM Lotus Notes Application or the Domino API ?
Here is my sample code to iterate the TODO document properties :
object[] TaskItems = docTodoDoc.Items as object[];
foreach (NotesItem objItem in TaskItems) { m_objLogFile.Debug(objItem.Name + " -> ");
m_objLogFile.Debug("Values :: " + ((object[])docTodoDoc.GetItemValue(objItem.Name))[0] as String);
}
Please help me out to over come this issue as i need to access the status value of the TODO Item from the NSF file.
Thanks.
© Stack Overflow or respective owner