REST API option not available in InfoPath 2013 Designer - sharepoint

I want to call custom my REST WCF service deployed in SharePoint ISAPI (_vti_bin) folder from within an InfoPath form that was migrated from SharePoint 2007. The form opens just fine in InfoPath Designer but the REST API option is not available to me for some reason. It seems its disabled from somewhere.
Image-Link: InfoPath Designer - REST API data source option not avialble

Try select "From Web Service" in the Ribbon:
It will open Rest API Connection Wizard:

Related

How to push a SP list item to another SP list in a different site collection

I have a SharePoint 2010 list on an external site for contractors to submit their applications. Currently, it uses an Infopath form and sends applications through emails with a XML version of Infopath form as attachment. My coworker then copies and pastes the application fields to a separate SP list on our internal site (SP 2016), where we track progresses. This is a tedious/intensive process. So, we would like to automate the process where we want push new applications (SP list items) to the SP list on the internal site. How do I do that or do you have any alternative recommendations?
Here could be some useful information:
Custom code is not allowed as IT has locked it down
Form was created with Infopath
Workflows are not allowed on the external site
Both sites are in different site collections
REST/SOAP services are locked down
No access to SharePoint Designer
After we make changes to the internal SP list, we do not need to reflect the changes on our external site
XML version of the Infopath form is emailed to us (can we make use of the XML file?)
We are using Windows 7; external site is using SP 2010 and internal site is using SP 2016
Thank you everyone!
I believe in your existing infopath form which is hosted in external SharePoint 2010 has data connection - now you can change the data connection file URL which will point to your new SharePoint 2016 site - then your existing external form will continue to work without changing anything. We have implemented using the same approach it worked.
If the above does not work for you, you may convert that infopath form into Nintex live for external access as you have mentioned above - you have lot of limitation for other approaches.

InfoPath and UDC communication error

In my SharePoint site, I'm using InfoPath Form Libraries, the InfoPath files uses UDC files to get the data on form load. InfoPath files and UDC are in the same site collection and in same server "Server A".
Now when I try to access the InfoPath files from "Server A", the InfoPath files works perfectly. But when an user access the site and when he tries to add or open a InfoPath file in the SharePoint site from his machine, he gets the following errors, this happnes to the site collection administrator as well.
1.The UDC file cannot be opened. The operation timed out.
2.InfoPath either cannot connect to the data source or the service has timed out.
3.The data connection file could not be accessed.
4.The form cannot run the specified query.
Note:
A. User has access to the SharePoint site, Data Connection Library and releated SharePoint lists.
B. In Central Administration –> General Application Settings –> InfoPath Forms Services –> Configure InfoPath Forms Services: I have enabled "Cross Domain Access for User Form Templates".
C. In Central Administration –> General Application Settings –> InfoPath Forms Services –> Configure InfoPath Forms Services: I have Increased the "Data Connection Timeouts".
D. All the UDC files are approved and Checked in.
E. InfoPath fomrs are not web browsable forms, they are filler forms developed using InfoPath 2007.
I'm using SharePoint 2010, InfoPath 2007 and InfoPath 2010.
EDIT:
From "Server B", I created an InfoPath with a data connection accessing the UDC in "Server A", when I previewed it, I'm getting the above mentioned errors.
I'm not able to access the UDC files anywhere in my network, other than "Server A"(all UDC resides in "Server A")
What am I missing.?
Depending on how you are authenticating, I suspect that you are hitting an authentication double-hop issue. The solution is to implement Kerberos... doing so is a bit of a pain, but it means that the users' credentials can be used to access non-SP resources (SQL servers, etc).
The reference document from MS is ~100 pages. http://www.microsoft.com/en-us/download/details.aspx?id=23176
We made some health analyzers to point out Kerberos config issues, since MS didn't. http://sdssharepointlibrary.codeplex.com/wikipage?title=Health%20Analyzers%20for%20Delegation&referringTitle=Documentation
Feel free to contact directly if you have other questions/needs.

Sharepoint/InfoPath 2010 Insert into a external database and sharepoint library

I have a Infopath form that add items to a database via a web service. (This part works fine).
I was wondering if it is possible to upload this form to sharepoint site (I know you can do this part), but also to be able to submit to the sharepoint library?
If so how would I go about submitting to a sharepoint library? Would I have to do it via my web service?
Thanks
James
In SharePoint you have a so called forms library. This library can have a form template, i.e. InfoPath template. This template could very well be your form which submits to this form library as well to some external database via a webservice.

what is infopath and how to use in SharePoint?

I want to know about infopath and also whether it is good to use instead of webparts or not ?
below link is "Introduction to Microsoft Office InfoPath 2007"
http://office.microsoft.com/en-us/infopath-help/introduction-to-microsoft-office-infopath-2007-HA010163577.aspx
and "Integration of InfoPath with SharePoint"
http://www.c-sharpcorner.com/UploadFile/srikanchar/InfopathIntegrationwithSPS11142005045822AM/InfopathIntegrationwithSPS.aspx
Infopath is a MS Office tool/program that lets you define and use XML based forms.
Start here with wikipedia.
Integration with SharePoint
The most common usage of InfoPath is
to integrate it with Microsoft
SharePoint technology using InfoPath
Form Services (included in the
enterprise commercial version of MOSS)
or as the separate Microsoft Office
Forms Server 2007 product. In
SharePoint, a "Form Library" can be
created and developed by using
InfoPath. InfoPath fields will be
exported as "Columns" in the library
and can be directly read in SharePoint
or be used as part of web services
results in workflow development.

Lock down InfoPath Templates

Does anyone know how to prevent users from editing an InfoPath form in Design mode? Users are storing InfoPath forms in SharePoint and it seems that anyone can edit the form in design mode and we need to be able to lock that down.
The only way to stop that from happening is to publish the form template to a place they don't have access to. I usually publish them to the "Forms Template Library" at the top level site; and lock down access that way.
edit: To clarify, users cannot open a previously saved form and edit the template that way. They must be able to get their hands on the physical "Form Template" and that's what you have to lock down.
There is a Group Policy item that you can disable the design button.
Have a look at this blog for infopath 2003
Pashman's InfoPath Goldmine
For Infopath 2003
User Configuration
Administrative Templates
Microsoft Office InfoPath 2003
Miscellaneous
Disable InfoPath Designer Mode
For Infopath 2007
Microsoft Security TechCenter
Search for: Information Rights Management
User Configuration
Administrative Templates
Classic Administrative Templates (ADM)
Microsoft Office InfoPath 2007
Restricted Features

Resources