Solved

Submit Infopath across site collections

Posted on 2013-12-09
5
1,250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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