in

InfoPath Dev

Need help creating a form selector

Last post 09-29-2008 08:33 AM by jrudolph. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-19-2008 11:59 AM

    • jrudolph
    • Top 100 Contributor
      Male
    • Joined on 07-02-2008
    • Orlando, FL
    • Posts 49

    Need help creating a form selector

    I have a SP library that contains close to 100 IP form templates all saved as content type. Each of these forms are the content type in an individual form library where users fill them out as required. What I am looking to do is create a new form with a list box that a user can just scroll through to find the form they are looking to fill out. Upon selecting I want them to be able to click on a button or link or something that will then open the form in a new window. The best example I can think of off hand of what I am looking to do is what the IRS has for selecting forms, http://www.irs.gov/formspubs/lists/0,,id=97817,00.html to see what I mean..

    What I have managed to do up to this point is take a sample of 10 of forms and create a spreadsheet with "Form Name" and "URL" as headings and import it into SP as a custom list, naming it Form Links. Then in IP I created a new data connection using Form Links and pull through the Name and URL fields. I set the ListBox controls to use this data connection with the value set to @URL and display set to @Name. I have added a button intended to open the selected file. The problem now is how can I make the button "on click" go to the selected file from the list box? I have bery little programming experience. Is there a way to do this non programatically?

    Furthermore, does anyone have a better method of doing what I am looking to to? For instance if I could use a data connection directly connected to the form template library, intead of creating a new custom list (Form Links) that would be preferable. This way I dont have to worry about updating an external list everytime a form is added or location changes.

    I appreciate any help or comments anyone may have.

    Filed under: ,
  • 09-24-2008 12:28 AM In reply to

    Re: Need help creating a form selector

    You could certainly create a master InfoPath document that would act as this menu.

    It could connect to your document libraries and dynamically display the forms.

  • 09-29-2008 08:33 AM In reply to

    • jrudolph
    • Top 100 Contributor
      Male
    • Joined on 07-02-2008
    • Orlando, FL
    • Posts 49

    Re: Need help creating a form selector

    I have already created a data connection to a SharePoint "links" library l where I manually input each form library's address, and I have this data connection attached to a list box. I then added a hyperlink control binding the data source to the list box and the text to be displayed as "Open selected form". This is working, however I was hoping there may be an easier way to do it so that I dont have to update the links list every time a new form is created and added to the site.

    Do you have any suggestions on how this could be done differently?

Page 1 of 1 (3 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.