문제

Suppose i have multiple features inside my wspbuilder. That includes a list definition, and a webpart.

  1. I want to fetch the records / items inside list, into my webpart. how we can do this ?

  2. As i explained , i have a list definition in my WSPBuilder project. the requirement is, to set the lookup field on that list itself on ID Or Title column. Can we do this ? What i have to do.

도움이 되었습니까?

해결책

  1. Use a SPQuery object. But you should develop what you want to do. There is often native components that can do the job with a small amount of work

  2. either use the AddLookupMethod, or do the stuff in the list definition. The later way is quite hard, because the list definition schema is not always properly handled by SharePOint code. I also have to add, that the lookups needs to be used with precaution. You have to create the target list, then the child list (can't create the lookup on a non existing field)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top