?
Solved

Submit Infopath across site collections

Posted on 2013-12-09
5
Medium Priority
?
1,331 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

809 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