Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

The form cannot be submitted because this action would violate cross-domain restrictions

$
0
0

Dear All,

Facing some issue in

Environement:

Windows = Windows Server 2008

Shareppoint = Sharepoint Server 2013.

Project Server = Project Server 2013

Info Path = Info Path Designer 2013

Detailed:

I have sharepoint environment with Project Server,I which have created task list in my project site and then i customize that form using info path their is one column named: "Product Name" in my task list which is drop down menu in that menu i want to show all the project name which are created in PWA Site. For that i made the External data connection to my sql server and select my desired table from that and also configured the my column data "i:e; Product Name. And published it to the my site. Now when i opened that form it prompts the error

"The form cannot be submitted 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 ."

Oopsss !!

Now start googling it found couple of solution shared listed below:

1. Enable the cross domain authenticated in Central Admin –> General Application Settings –> Configure InfoPath Form Services (Done)

2. Now Created the data connection library in my site collection which is PWA Site after that i went to the infopath and creating the data connection andConvert to Connection File and enter the URL of the data connection library

and its prompt the error " the specified url is not a data connection library and enter the correct filename" didnt remember the exact error description at the moment.

So, that was all stuff, Kindly suggest me any step which i missed that or ay solution that resolve my this issue.

Thanks


REGARDS DANISH DANIE


Viewing all articles
Browse latest Browse all 5347

Trending Articles