Templetes and offline users - InfoPath Dev
in

InfoPath Dev

Templetes and offline users

Last post 06-27-2005 01:55 AM by tatopitta. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 06-14-2005 02:34 AM

    Templetes and offline users

    Hi,
    here's my problem: i'd like to use infopath even if all my users cannot have the access to the templete published on a Sharepoint Site(so come users are offline). In this scenario, i'd send to offline users an email with the templete so they can mail me the filled our form in a XML. In this way the templete used by me and the templete used by the offline users are the same (or compatible) and the xml file received from the offline users refers to his local copy of templete. So, can i change XML code to make the form using my own copy of templete and not the offline user's copy of templete?Is this solution correct?

    Thank you all!
  • 06-15-2005 11:59 PM In reply to

    Re: Templetes and offline users

    Hi Tatopitta and welcome to our forum!

    This is a great question. You can send your form to extranet users in one of two ways:

    1. Restricted - set Tools->Form Options->Security to restricted and use File->Send Form as Attachment. This is limited in that your form can't do much due to restricted security.
    2. URN-based - you can run Regform to create an MSI that you send to your users in e-mail. They install the form and then you have an e-mail data adapter in the form that sends e-mail.

    In either case, you'll want to install the same version of the form as your users. Scenario 2 allows more scenarios but it doesn't support linkage with an internal SharePoint site. That's because the template.xml that is sent in e-mail will not have the URL for the solution, just the URN. Forms deployed on SharePoint require a URL.

    You will have to create some logic in your URN form that loads the form and then launches the SharePoint version with it. In other words, you will have 2 forms. The extranet one with special launch code if it detects the internal SharePoint site and a form for the SharePoint site that includes a URL.

    There are a bunch of other design patterns - you could create a winform for your extranet users that generates an InfoPath form with the URL for your internal site. We have done that before. This also doesn't require InfoPath for the extranet users, but it requires a lot of coding to create the Winform.

    You could also use BizTalk or even the Import form functionality to import forms from e-mail into a URL-based SharePoint solution that acts as a dashboard loading and saving the forms from e-mail.

    Hope this helps a little,

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 06-23-2005 12:54 AM In reply to

    Re: Templetes and offline users

    Thank you very much Patrick...so using RegForm my form must not have any Sharepoint site as a Datasource and I must implement by code any linkage with Sharepoint or any others source...is this correct?
    Thank you so much!
  • 06-23-2005 06:09 AM In reply to

    Re: Templetes and offline users

    Hi,
    It can have linkage with sharepoint site as a datasource but you need to connect(query) to the datasource from the code and have try catch block around it. Even if the connection to the datasource fails you can handle it in the code.

    Hope I got the context right! Sorry if not.

    Agni
    InfoPathDev India
  • 06-23-2005 06:47 PM In reply to

    Re: Templetes and offline users

    Yes, Agni's solution is a good one but requires hardcoding since the form has no URL identity. You can add some code that looks for the URL and tries to save the form there if it finds it.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 06-27-2005 01:55 AM In reply to

    Re: Templetes and offline users

    Thanky you all guys!
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.