clientContext 의 DefaultDisplayFormUrl 속성을 로드하기

2013.04.23 10:10 개발언어/SharePoint
The property or field ‘DefaultDisplayFormUrl’ has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

Posted by h0psing on January 14, 2013

“The property or field ‘DefaultDisplayFormUrl’ has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.”


clientContext.Load(list, w => w.DefaultDisplayFormUrl);
clientContext.Load(list, w => w.Title);
clientContext.ExecuteQuery();


신고
  1. Favicon of http://jongamk.tistory.com BlogIcon 핑구야 날자비밀방문자
    2013.04.23 12:05 신고 edit/del reply

    ?? 괜히 궁금해지네...ㅋㅋ

    • Favicon of http://ndolson.com BlogIcon 엔돌슨비밀방문자
      2013.04.23 12:40 신고 edit/del

      ㅋㅋㅋ 답변이 좀 늦었네요. 점심먹고 왔네요 ㅋㅋ

      쉐어포인트의 클라이언트 모델을 구해서
      리스트 객체의 Title과 디폴트 뷰URL를 로드하는 코드입니다. 헐.. ㅋㅋㅋ