How do I get my contact list into a Sharepoint form?
-
I have an Infopath form in Sharepoint. In one of the fields I want the user to pick a person from a "contact list" stored in the site. I want it to behave like the http://msdn.microsoft.com/en-us/library/ms496491.aspx, but this apparently only queries AD and Sharepoint users, not a contact list. Any ideas on how to achieve this? I don't really need the functionality to create a contact on the fly (this could, theoretically, be a drop down list). But with 700 names it would be nicer if I could provide the contact selector like interface. This seems like it should be really simple to do, I shouldn't have to roll my own here.
-
Answer:
Have you tried the http://social.technet.microsoft.com/Forums/en-US/sharepointinfopath/threads forum on MSDN? It looks like most questions get a response.
geoff. at Ask.Metafilter.Com Visit the source
Other answers
Ah, InfoPath. How many times have I said to myself, "This seems like it should be really simple to do." I think you have to roll your own. A drop list would be easiest, of course. If you are willing to do some code-behind, you could give the user a text field to enter some search text, click a search button, and then allow them to select an entry from matching results. It's not as clean as the contact selector control, but it doesn't look too bad. If you're interested mail me and I'll forward you a code snippet.
Eddie Mars
Eddie is InfoPath worth it? Or should I just go ASPX/SQL? I'm getting the feeling is for a power user creating super simple forms in XML?
geoff.
You are looking at a custom control. Especially if you want to have the same functionality as the selector control (browse and the resolve names). No "easy" way to do it in infopath. If you can whip up a web form to do this, then you might want to go that route. Your page could even use the contact list as a data source. Code-behind can get ugly quickly, especially if you want your code to do a query against a specific list in SharePoint for validation. It's doable, just hard.
MCTDavid
I'm dumping the list, inserting into SQL and using web service to create a query and drop down as outlined http://blogs.msdn.com/infopath/archive/2006/10/12/cascading-dropdowns-in-browser-forms.aspx Not too impressed with Infopath.
geoff.
InfoPath is a bit of a challenge, similar to Sharepoint in many respects. It works great until you try to step outside of what is provided to you. As soon as you get to the point where you need to start coding, everything becomes ridiculously difficult. If you have an alternative that will work for you, I'd go that route.
Eddie Mars
You can use a Web Service to query your SharePoint list and populate your drop down box in InfoPath with the Web Service.
geekyguy
Related Q & A:
- How do I make my contact list in IM smaller?Best solution by Yahoo! Answers
- How can I have my contact list in alphabetic order by name?Best solution by answers.microsoft.com
- How can I access my contact list and address book?Best solution by Yahoo! Answers
- How do I transfer email contact list?Best solution by Yahoo! Answers
- How do I get back contact list from yahoo.com?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.