Microsoft Developer Network >
SharePoint Products and Technologies Forums
>
SharePoint - Development and Programming
>
Any experiences to share regarding custom lookup field types?
Any experiences to share regarding custom lookup field types?
- I am curious if anyone can lend some advise regarding methods that should be added to the following custom field type? I am trying to create a field type that allows you to select items from a list that are defined in a specific view. Essentially I want another control in the field definition that allows you to select from the defined view that have been created for this list.
I have seen most of the walkthroughs and blogs that out there regarding custom fieldtypes but most of these inherit from TextField and I just don't have enough programming knowledge to outline the methods that are needed to extend the capabilities of LookupField.
I have seen the solution that is offered by QwizCom but I really want to generate this solution in-house if possible and from what I have seen, a lot of other folks could use this functionality also.
Answers
- Hi PbFred,
It took me some time, sorry for that.
You can find Source code and wsp package here:
http://zine.net.pl/blogs/gutek/archive/2008/11/12/dual-cross-site-lookup-field-with-pickerdialog.aspx
This post is in english.
The WSP installs my Dual Cross Site Lookup Field
Source Code is provided in case you would like to extend it.
Cheers,
Jakub G- Marked As Answer byMichael Washam - MSFTMSFT, ModeratorWednesday, November 19, 2008 2:47 PM
- Proposed As Answer byGutekMVPFriday, November 14, 2008 8:38 PM
All Replies
- Hi,
Take a look at this solution:
http://tonybierman.blogspot.com/2008/07/free-custom-cross-site-lookup-column.html
Cheers,
Jakub G- Marked As Answer byMichael Washam - MSFTMSFT, ModeratorWednesday, August 20, 2008 3:23 PM
- Unmarked As Answer byPbFred Tuesday, September 02, 2008 7:54 PM
- Had to unmark this last entry as the "answer" Micahel as this really wasn't that close to what I was looking for..
Hi PbFred,
Maybe the link was not exactly what you where looking for, but it gives you a guidelines how to create one lookup field, which you can easily extend to dual lookup field if you like.
I will try to create a sample solution for you during the weekend but I can't promise that I will manage to find enough free time to do it.
Cheers,
Jakub GWow! Thanks so much for your effort Gutek. This was really above and beyond...
I just successfully installed the solution and will be looking at this closely in the very near future. I'll be sure to get back to you with my feedback.
THANKS AGAIN!
- Hi PbFred,
I'm really sorry, there was an issue with one of my updates and you could downloaded version which not automaticly updates values on target and source list.
This has been resolved now.
Once more sorry :(
Cheers,
Jakub G - Maybe this one helps you a bit SharePoint Cascaded Lookup . Even though they are the same from some point, their features are different.

