Error when publishing a form to SharePoint list - InfoPath Dev
in

InfoPath Dev

Error when publishing a form to SharePoint list

Last post 02-01-2018 07:21 AM by darrenfloyd666. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-01-2018 04:32 AM

    Error when publishing a form to SharePoint list

     I have a form where one field returns the users line manager. It works fine when I Preview it, but when I publish it and try and fill a from in I get the error listed below.

    What I want to do is to eventually is store the returned line manager in a variable and then use a workflow to send an email to the line manager. I thought the best way to do this is via a GetUserProfileByName Data Connection?

    I've attached the form, any help appreciated!  

     

     Error

    A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions.

    If this form template is published to a SharePoint document library, cross-domain access for user form templates must be enabled under InfoPath Forms Services in SharePoint Central Administration, and the data connection settings must be stored in a UDC file in a data connection library in the same site collection.

    If this is an administrator-approved form template, the security level of the form must be set to full trust, or the data connection settings must be stored in a UDC file by using the Manage data connection files option under InfoPath Forms Services in SharePoint Central Administration.

    An entry has been added to the Windows event log of the server.


    Log ID:6932


    Correlation ID:31adaa1e-ab76-42de-bf18-6d476d8ebca6



    A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions.

    If this form template is published to a SharePoint document library, cross-domain access for user form templates must be enabled under InfoPath Forms Services in SharePoint Central Administration, and the data connection settings must be stored in a UDC file in a data connection library in the same site collection.

    If this is an administrator-approved form template, the security level of the form must be set to full trust, or the data connection settings must be stored in a UDC file by using the Manage data connection files option under InfoPath Forms Services in SharePoint Central Administration.

    An entry has been added to the Windows event log of the server.


    Log ID:6932


    Correlation ID:31adaa1e-ab76-42de-bf18-6d476d8ebca6

     

  • 02-01-2018 07:21 AM In reply to

    Re: Error when publishing a form to SharePoint list

    I thought I had it. I was using the wrong site on the Data Connection! So I corrected it:

    http://xxx.com/_vti_bin/UserProfileService.asmx?WSDL and now I get the following error when I Preview: The SOAP response indicates that an error occurred on the server:

    Server was unable to process request. ---> Attempted to perform an unauthorized operation.

     So do I need to enable something on this site? 

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.