Form Integration - InfoPath Dev
in

InfoPath Dev

Form Integration

Last post 04-28-2008 12:36 PM by Clay Fox. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 04-27-2008 07:25 PM

    Form Integration

    I am looking to open an infopath xml form from an ASP.NET website.  I know that sharepoint stores the xml files in a shared folder on the server.  Do you know if i will need to build the whole form and schema or can i just use a File.Open method in C# to do it?  I would like it to work like Sharepoint where the user would click and it would give them the open, save, or cancel window.  Thanks for any replies. 

  • 04-28-2008 07:21 AM In reply to

    If you just want to trigger InfoPath then all you would need is a hyperlink to the document or template.

    I am guessing though you want to not have to depend on InfoPath as a client and host the XML yourself.

    IPFS in MOSS 2007 gives you this ability. If you are going to try and do it your self you would have to start from scratch and recreate the whole form and then inject any exisitng XML.

  • 04-28-2008 08:36 AM In reply to

    What my thoughts are is to have Sharepoint in the background, and just have the ability to pull up a specific infopath xml file from an asp.net website.  All client machines will have infopath installed and we will be keeping infopath as a client.  So it seems like i can just create a hyperlink to that xml file ? 

  • 04-28-2008 08:38 AM In reply to

    the reason to keeping sharepoint is the ease of use to be able to publish a template instead of configuring my site to be able to publish my template too 

  • 04-28-2008 08:42 AM In reply to

    It would not be an issue to publish the template to your website but probably simpler to use SharePoint.

    Link to the template.xsn in SharePoint to open a new form or a link to the xxxx.xml file in the library and windows will open that xml document in InfoPath on the client's machine.

    If you need a way to display available files, you could embed the SharePoint library in a frame or use the list webservice, like you would in InfoPath, to display the files in the library and give them a link to each.

  • 04-28-2008 09:42 AM In reply to

    Thank you very much.  I will go do some development work and let you know how it turns out! 

  • 04-28-2008 12:31 PM In reply to

    Ok i know an easy way to open a form in Infopath is by using the C# code:         System.Diagnostics.Process.Start("C:\\Documents and Settings\\user\\Desktop\\Test.xml");

     

    Is there a better way to do this in my ASP.NET page? 

  • 04-28-2008 12:36 PM In reply to

    I am not sure the syntax but I would just reference it like opening a webpage in a seperate window.

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