• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1355
  • Last Modified:

Submit Infopath across site collections

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?
Justin Smith
Justin Smith
  • 3
  • 2
1 Solution
Clay FoxDirector of Business IntegrationCommented:
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.
Justin SmithSr. System EngineerAuthor Commented:
Can you explain a bit more?  Right now it's an admin approved template, activated on both sites.
Clay FoxDirector of Business IntegrationCommented:
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.
Justin SmithSr. System EngineerAuthor Commented:
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"?
Clay FoxDirector of Business IntegrationCommented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now