<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/106425.aspx</link><pubDate>Tue, 03 May 2016 12:25:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106425</guid><dc:creator>Paradiddle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=106425</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;cbrown00,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t have any experience with CRM online&amp;nbsp;but most things seem to work easier from InfoPath client than browser enabled forms that I normally use.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I believe the API is dependent on which version of CRM you are using. &lt;/p&gt;&lt;p&gt;I would try to get some REST queries working from a browser and then try adding a similar data connection to your InfoPath form.&lt;/p&gt;&lt;p&gt;The base syntax for CRM 2013&amp;nbsp;is &lt;/p&gt;&lt;p&gt;[Your Organization Root URL]/XRMServices/2011/OrganizationData.svc&amp;nbsp; &lt;/p&gt;&lt;p&gt;You should be able to add the root url to your&amp;nbsp;online CRM to the above and get something back from a browser.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Microsoft&amp;#39;s documentation&amp;nbsp;for all versions of CRM is here:&lt;/p&gt;&lt;p&gt;&lt;a href="https://msdn.microsoft.com/en-us/library/gg334767(v=crm.6).aspx"&gt;https://msdn.microsoft.com/en-us/library/gg334767(v=crm.6).aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I also found this link helpful in refining my queries:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#OrderBySystemQueryOption"&gt;http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#OrderBySystemQueryOption&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/106420.aspx</link><pubDate>Tue, 03 May 2016 01:31:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106420</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=106420</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Paradiddle:&lt;/p&gt;&lt;p&gt;I want to connect my InfoPath form to receive MS Dynamics CRM info too. &amp;nbsp; I have my InfoPath form.&amp;nbsp; Anyplace I can get step by step guidance to make the connection?&amp;nbsp; In my case, all users have InfoPath client on their desktop.&amp;nbsp; Using MS Dynamics CRM online, not on-premise. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/105082.aspx</link><pubDate>Thu, 07 Jan 2016 17:35:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105082</guid><dc:creator>Paradiddle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105082</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Did several things to get this to work:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Converted Data Connection to a udcx file&lt;/li&gt;&lt;li&gt;Downloaded and edited the udcx file&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&amp;nbsp;just below &amp;lt;/udc:UpdateCommand&amp;gt; inserted&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&amp;lt;udc:Authentication&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;udc:SSO AppId=&lt;span class="ms-rteThemeForeColor-9-4"&gt;&amp;#39;CRMconnection&amp;#39; &lt;/span&gt;CredentialType=&amp;#39;Negotiate&amp;#39;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/udc:Authentication&amp;gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;in udcx file removed everything after the ? but before close of the tag.. on the line below&amp;nbsp;&amp;nbsp;&lt;span class="ms-rteThemeForeColor-9-4"&gt;(Not sure if this matters... I will do more testing and report back)&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&amp;lt;udc:Query&amp;gt;https://crm.mydomain.com/SEI/xrmservices/2011/OrganizationData.svc/AccountSet?&amp;lt;/udc:Query&amp;gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;uploaded the udcx file and replaced existing file.&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Set up Secure Store Service for new&amp;nbsp;target app&amp;nbsp;called CRMconnection&amp;nbsp;in Central Admin under Manage Service Apps (Secure Store Service Appl)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Target ApplicationID: CRMconnection&amp;nbsp;&lt;/li&gt;&lt;li&gt;Display Name: CRMconnection&amp;nbsp;&lt;/li&gt;&lt;li&gt;Target App Type: Group&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Set Credentials on above target app to &amp;quot;All Users (windows)&amp;quot;&lt;/li&gt;&lt;li&gt;&lt;span class="ms-rteThemeForeColor-2-0"&gt;&lt;span id="ms-rterangecursor-start"&gt;&lt;/span&gt;Turned on InfoPath Forms Services Web Service Proxy in Central Admin&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="ms-rteThemeForeColor-2-0"&gt;Enabled both checkboxes&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;p&gt;&lt;span class="ms-rteThemeForeColor-2-0"&gt;Hope this helps somebody else.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Thanks for the hint Hilary!!&amp;nbsp;&lt;/p&gt;&lt;p&gt;Happy New Year to Reema. So long to Bre.&lt;/p&gt;</description></item><item><title>Re: Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/105010.aspx</link><pubDate>Tue, 29 Dec 2015 15:32:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105010</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105010.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105010</wfw:commentRss><description>It needs to be a UDCX for sure. So - are you specifying credentials in the UDCX?</description></item><item><title>Re: Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/105008.aspx</link><pubDate>Tue, 29 Dec 2015 01:28:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105008</guid><dc:creator>Paradiddle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105008</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ok, I always forget about firewalls.&amp;nbsp; I cleared up the firewall issues but now I get a 401 error.&amp;nbsp; I have several REST web service calls on this form.&amp;nbsp; All of the calls to SharePoint work fine.&amp;nbsp; My REST Web Service calls to CRM all fail with a 401 error.&amp;nbsp; I have tried a data connection using and not using a udcx. What&amp;#39;s required to connect to a non-SharePoint Web Service? Maybe my credentials are not getting passed to crm correctly?&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;The
following query failed: CRMrestNoUDCX (User: 0#.w|mydomain\myuserid, Form
Name: DocMarking2, IP: , Connection Target: , Request: &lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;https://sharepoint.mydomain.com/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;sharepoint.mydomain.com&lt;/a&gt;&lt;/span&gt;/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;sharepoint.mydomain.com&lt;/a&gt;&lt;/span&gt;/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;#39;Microsoft Sans Serif&amp;#39;,sans-serif;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="https://collaboration.sei.cmu.edu/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;sharepoint.mydomain.com&lt;/a&gt;&lt;/span&gt;/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1,
Form ID: urn:schemas-microsoft-com:office:infopath:DocMarking2:-myXSD-2015-11-12T14-15-04
Type: DataAdapterException, Exception Message: The form cannot run the
specified query. The remote server returned an error: (401) Unauthorized.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Connecting to Microsoft CRM from an InfoPath Browser form.</title><link>https://www.infopathdev.com:443/forums/thread/104988.aspx</link><pubDate>Wed, 23 Dec 2015 14:27:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104988</guid><dc:creator>Paradiddle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=104988</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have set up a REST Web Service connection to Microsoft CRM but it fails connecting to the CRM server.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Both SharePoint and&amp;nbsp;SharePoint are using&amp;nbsp;claims based authentication.&amp;nbsp; In Central Admin, I have &amp;quot;Require SSL for HTTP authentication to data sources&amp;quot; and &amp;quot;Allow cross-domain data access for user form templates...&amp;quot; checked.&lt;/p&gt;&lt;p&gt;The errors in the ULS logs are:&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:8.5pt;"&gt;Cannot
find site lookup info for request Uri &lt;a href="https://crm.mydomain.com/SEI/xrmservices/2011/OrganizationData.svc/AccountSet?$select=Name,new_branchid,new_fundingtypeid,ModifiedBy,ModifiedOn,OwnerId,new_UserNumber,StateCode,VersionNumber&amp;amp;$filter=new_UserNumber+eq+92"&gt;&lt;font color="#0563c1"&gt;https://crm.mydomain.com/SEI/xrmservices/2011/OrganizationData.svc/AccountSet?$select=Name,new_branchid,new_fundingtypeid,ModifiedBy,ModifiedOn,OwnerId,new_UserNumber,StateCode,VersionNumber&amp;amp;$filter=new_UserNumber+eq+92&lt;/font&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The above query works fine when I paste it into a browser.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:8.5pt;"&gt;The
following query failed: REST-CRMdata (User: 0#.w|mydomain\myuserid, Form
Name: DocMarking2, IP: , Connection Target: , Request: &lt;a href="https://sharepoint.mydomain.com/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://collaboration.sei.cmu.edu/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://collaboration.sei.cmu.edu/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://collaboration.sei.cmu.edu/forms/dm/Forms2/"&gt;&lt;font color="#0563c1"&gt;&lt;/font&gt;&lt;/a&gt;&lt;font color="#0563c1"&gt;&lt;a href="https://sharepoint.mydomain.com/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://sharepoint.mydomain.com/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://sharepoint.mydomain.com/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://sharepoint.mydomain.com/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;https://sharepoint.mydomain.com/forms/dm/_layouts/FormServer.aspx?XsnLocation=https://sharepoint.mydomain.com/forms/FormServerTemplates/DocMarking2.xsn&amp;amp;SaveLocation=https://sharepoint.mydomain.com/forms/dm/Forms2&amp;amp;ClientInstalled=true&amp;amp;Source=https://sharepoint.mydomain.com/forms/dm/Forms2/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1&lt;/a&gt;&lt;/font&gt;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;/span&gt;&lt;a&gt;&lt;/a&gt;&lt;span style="font-size:8.5pt;"&gt;&lt;a&gt;Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1&lt;/a&gt;#,
Form ID:
urn:schemas-microsoft-com:office:infopath:DocMarking2:-myXSD-2015-11-12T14-15-04
Type: DataAdapterException, Exception Message: The form cannot run the
specified query. Unable to connect to the remote server)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Do connections to &amp;quot;External&amp;quot; sites require that I convert the data connection to a Connection File?&lt;/p&gt;&lt;p&gt;In Central Admin, &amp;nbsp;should I be enabling the InfoPath Forms Services Web service proxy?&lt;/p&gt;&lt;p&gt;Thanks for any assistance.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>