Solved

Submit Infopath across site collections

Posted on 2013-12-09
5
1,192 Views
Last Modified: 2013-12-10
Created Infopath form and published as an admin-approved template.  The form is activated on two site collections, A and B.  Users open and submit the form from Site A.  Code behind the form submits the data to Site B.  All that is working fine.

However, when users go to view the submitted forms in Site B, it tries to open the template from Site A and an error is thrown "The following location is not accessible, because it is in a different site collection"

Authenticated Users have Read access to the Form Template Library on Site A.  Is this just a limitation of the products?
0
Comment
Question by:Justin Smith
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:clayfox
ID: 39707744
You need to create a version of the form for site B, linked to that library. That way it can be opened there as well.
0
 
LVL 38

Author Comment

by:Justin Smith
ID: 39707761
Can you explain a bit more?  Right now it's an admin approved template, activated on both sites.
0
 
LVL 28

Expert Comment

by:clayfox
ID: 39707764
Since the form references the original form template location you have a couple options.

1. To update the XML possibly so that it points where you want
2. To provide access to site A template for the site B users
3. Have a central location for the template that can be accessed by both groups.
4. Switch the form to submitting to a list or data base. Then you can have a form from each site that can access the data as needed. And the form template is not embedded like it is with an XML file.

www.qdabra.com has a tool for editing the XML headers that might be interesting.
0
 
LVL 38

Author Comment

by:Justin Smith
ID: 39708397
1. That would be burdensome with so many files
2. Already did that, didn't help
3. Not possible.  Forms are being submitted from an anon site to a secure site.
4. --


So it looks like your in a round about way saying that this isn't possible "out of the box"?
0
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 39708411
Well, best practice is to submit data, not the whole XML wrapper.
I think it may be possible to replace the header in an automated fashion with the workflow portion.

you should be able to make option 2 work, as long as the URL is the same.

I thought of another option.

I assume you promote the columns of the data, and what you care about is exposed in the library.
if so make an admin form, with a data connection to the secure library. Then users can search, view, and select the record they want and view it, etc.
so use a new form to browse the data.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now