locked
Linking infopath forms from other libraries RRS feed

  • Question

  • Hi,

    I have created 2 InfoPath forms (Form A and Form B) with each having its own SharePoint library.

    The first library is currently being populated with completed Form A's. 

    There is an option in Form B for the user to reference at least 1 Form A. Completed Form B's will be stored in a seperate library.

    Can anyone advise on how I can allow a user to select Form A's from within Form B? I'm thinking of creating a drop down with an external data connection to the SP library.  

    Thanks,
    Z

    Wednesday, April 25, 2012 3:14 PM

Answers

All replies

  • I think you are on the right track. You can create a data connection to Library A and bind to Drop-down list control. You can also try to use it with hyeplink control with concat() function, so people can open selected form A from form B by clicking the link


    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com

    Wednesday, April 25, 2012 10:49 PM
  • Hi Sangha, 

    Thank you for the reply. 

    I went down the drop-down list route but for some reason it only displays the first 30 forms in the library when there are over 100. 

    I am interested in your second method. Could you please provide steps on how to go about creating the hyperlinks?

    Thanks,
    Z

    Thursday, April 26, 2012 10:50 AM
  • I don’t have 2007, so I used 2010 instead. But steps are same for both 2007/2010

    1. Open [Insert] tab on top ribbon menu. Click [HyperLink] in Links section.

    2. Open HyperLink properties dialog box

    3. Set it as below. [FormADropDown] is the Drop-down list control bound to InfoPath Library A. [Url] is Text box control

    4. Set default value of [Url] as below. Your form Url should be different with mine. Use cancat() function to generate Url points to Xml file stored in InfoPath Library A

    5. Test it.

    Increase value(default is 30) of display item limit in Form Library. You can do it in [Edit View] page. Scroll down until you find [Item Limit] section.


    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com



    Thursday, April 26, 2012 5:54 PM
  • Thank you for the very informative reply.

    I followed the steps and get stuck on no.4. I'm confused as to what parts I need to change? 

    Thank you for instructions on changing item limit....that works perfect now. 

    Z

    Tuesday, May 1, 2012 3:40 PM
  • Open one of submitted InfoPath form (.XML file)

    Use Url in browser address bar.

    When you set a default value for the hyperlink in InfoPath form, make sure you use the file name seleted by user as my previous post.

    Check the link below for detail information.

    http://msdn.microsoft.com/en-us/library/ms772417.aspx


    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com




    Tuesday, May 1, 2012 5:11 PM