无法在“任务”文档属性中获取DspStatus字段

时间:2010-03-25 12:10:47

标签: c# lotus-notes

我正在使用Interop.Domino.dll API来读取NSF文件并能够读取任务文档的属性。

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(TaskItems中的NotesItem objItem)    {       m_objLogFile.Debug(objItem.Name +“ - >”);

  m_objLogFile.Debug("Values :: " + ((object[])docTodoDoc.GetItemValue(objItem.Name))[0] as String);  

}

请帮我解决这个问题,因为我需要从NSF文件中访问TODO项目的状态值。

感谢。

1 个答案:

答案 0 :(得分:0)

我认为问题是DspStatus字段类型是“计算用于显示”,并且这些类型的字段实际上并不与文档一起保存,因为名称意味着只计算显示。如果您有权验证莲花笔记形式设计,您可以验证该字段的公式,并可能获得计算它的价值的字段。

希望有所帮助。