| K2 blackpearl Installation and Configuration Guide > Troubleshooting > InfoPath > InfoPath - Integrate with SmartObject | Send feedback |
When using InfoPath with SmartObject Integration to retrieve data from a SmartObject and viewing the form in a browser, an error displaying a message stating An error occurred accessing a Data Source. When viewing the form in the InfoPath client, the connections to the SmartObject works correctly.
If the Integrate with SmartObject option is used the following steps must also be followed as this is not automatically done by the standard InfoPath publishing functions:
![]() |
In InfoPath browse to Tools > Data Connections. |
||
![]() |
Select the first SmartObject Data Connection and click Convert and Browse to the relevant SharePoint Data Connection Library. |
||
![]() |
Type the MOSS URL as the File Name and click Save. |
||
![]() |
From the list select a valid Data Connection Library from the list. If there are no Data Connection Libraries, open SPS and create one in the same way a Form Library is created in SharePoint. The Data Connection Library template is listed under the Libraries section. |
||
![]() |
Provide the Data Connection Library with a relevant name and click Save to continue. |
||
![]() |
Ensure that the Relative to site collection option is selected.
|
||
![]() |
Once the first connection has been converted the .udcx file can be reused for all other SO Data Connections as the file does not contain information specific to the SO Method. |
![]() |
The deploy task that is part of the InfoPath Workflow integration does this automatically, so these steps are not needed when using Workflow Integration with InfoPath. |