Site Specific Form Library - InfoPath Dev
in

InfoPath Dev

Site Specific Form Library

Last post 01-15-2007 10:55 AM by derrickgh. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-12-2006 02:39 PM

    Site Specific Form Library

    Hello,
    Hopefully someone knows how or if this is possible.

    I have set up a site that has 20-30 form libraries for a project lifecycle and saved the site as a template. Everytime a new project is opened the project manager creates a site with this template that includes all the forms that need to be completed for that project.

    The issue I am having is that when they fill our the form and save it, it save the form back to the origianl form library where the forms where developed on. Is it possible to set up the form to save to the specific project site once its created without having to change the submit code on every project site. There are between 200-400 project going on at once so this really isnt an option. Just wondering if there is some type of code that can be used in the submitt code that picks up the sharepoint site it was subnmitted from??

    Any insight would be much appreciated. thank you!
  • 12-12-2006 11:13 PM In reply to

    Re: Site Specific Form Library

    Hello Derrickgh,
    One question that I have for you is – Are you submitting form to SharePoint site using rule on button Or by using code? If you are using rule on button then the form will be submitted to that SharePoint site only. If you are using code then I have one more question – Did you hardcode the SharePoint site name to which you are submitting the form Or getting them when clicked on Submit button. If you have hardcoded the SharePoint site in the code then you need to write code so that it gets the SharePoint address when Submit is clicked

    Hope this helps!
  • 12-12-2006 11:14 PM In reply to

    Re: Site Specific Form Library

    Hi,

    I think you hardcoding the sharepoint url and that is y it is submitting to the developed site, instead of hardcoding get the share point folder url dynamically.

    Hope this helps you!
    Shilpa
    INFOPATHDEV India
  • 01-15-2007 10:55 AM In reply to

    Re: Site Specific Form Library

    I am having troubles with the hard coding these forms to dynamically get the SharePoint library to submit to. Can someone post an example of what this code would look like? I have one from that will be published to 25 different libraries but need them to save to the library they were opened from. I am using InfoPath 2003. Thank You!
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.