1

I am new to InfoPath forms. I have a basic idea that InfoPath forms can be used to capture information related to list columns and the data can then be stored in the list on a SharePoint site. However I want to design an InfoPath form which can be used as a search form for searching values in the list.

E.g I have columns like Name and Department in a list. I want to create a search form where if the user enters only Name, it should search for FieldName contains Name; if the user selects Department, it should search for FieldName equals Department, if the user enters both Name and Department, it should put an and condition for both. THis functionality is not possible OOTB for MOSS 2007. So thought to check if it is possible with InfoPath forms.

Any help would be appreciated.

2 Answers 2

2

If I understand your request you want to be able to perform a search from within the InfoPath form. This can be done by configuring a call to the SharePoint Search Web Service (/vti_bin/search.asmx) within a data connection.

1
  • Do u have a link to any article / blog which would assist?
    – Ashish
    Dec 11, 2011 at 18:33
0

It sounds like what you really want is an expanded, customized advanced search page. Using Infopath sounds like the wrong way to go.

You can add some options to the advanced search page with the search settings and others by extending the Advanced Search Box control.

4
  • Do you have a reference to any article or blog which can be referred?
    – Ashish
    Dec 12, 2011 at 3:25
  • The first thing I'd suggest is just looking at the advanced search page to see if it already meets your needs. Dec 12, 2011 at 12:28
  • Yes i checked the advanced search page for my needs and seems it does not have the custom columns I need for my search. Probably just the site columns are shown.
    – Ashish
    Dec 13, 2011 at 3:56
  • Which columns are shown is a configuration thing, though. You may not need to develop anything. Also look at custom Search Scopes. Dec 13, 2011 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.