Solved

Submit Infopath across site collections

Posted on 2013-12-09
5
1,206 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

14 Experts available now in Live!

Get 1:1 Help Now