2010-03-25 2 views
0

Interop.Domino.dll API를 사용하여 NSF 파일을 읽고 작업 문서의 속성을 읽을 수 있습니다.작업 문서 속성에서 DspStatus 필드를 가져올 수 없습니다.

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 : 

개체 [] TaskItems = docTodoDoc.Items as object [];

foreach (TaskItem의 NotesItem objItem) { m_objLogFile.Debug (objItem.Name + "->");

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

}

내가 NSF 파일에서 TODO 항목의 상태 값에 액세스하는 데 필요한만큼이 문제를 온 이상 저를 도와주세요.

감사합니다.

답변

0

나는 문제가 DspStatus 필드 유형이 "Computed for display"라고 생각하며 이러한 유형의 필드는 실제로 이름이 표시를 위해 계산 된 것처럼 문서와 함께 저장되지 않습니다. 연꽃 노트 양식을 확인하기위한 액세스 권한이 있다면 해당 필드의 수식을 확인할 수 있으며 계산 가치가있는 필드를 얻을 수 있습니다.

희망이 있습니다.

+0

해당 필드는 거의 확실하게 Status이며 텍스트 화 된 정수 값을 포함합니다. @Preeti Singh : out-of-the-box Notes 애플리케이션 (메일, 토론 등)은 모두 다국어입니다. 코드는 모든 언어에서 동일합니다. 변경되는 유일한 것은 UI에 표시되는 레이블과 시스템을 구동하는 필드의 표시 값입니다. 상태 필드는 중요하며 "1"또는 "2"와 같은 값을 포함합니다. DispStatus 필드는 해당 값을 사용자가 이해할 수있는 것으로 변환합니다. –

관련 문제