Posts Tagged ‘InfoPath’

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Complete

Written by Cornelius J. van Dyk on . Posted in Blog

As we know, InfoPath forms have the ability to consume data from SharePoint’s User Profile Service Application through the SharePoint Web Services or to be more exact, through the UserProfileService.asmx web service specifically.  The question is how to do that?  It can be achieved by following a few simple steps as outlined below.

1.  From InfoPath, click the “Data” tab in the top menu.

2.  From the Data tab ribbon that opened, click “Data Connections”.

screenshot.615

3.  The “Data Connections” dialog window opens.

4.  There should be one data connection named “Main Data Connection” displayed already.

5.  Click the “Add” button to add a new connection.

screenshot.616

6.  The “Data Connection Wizard” appears.

7.  Select the “Create a new connection to:” radio button.

8.  Select the “Receive data” radio button.  NOTE:  These are usually set by default, but if they’re not selected on your form, select them.

9.  Click the “Next” button. 

screenshot.617

10.  Select the “SOAP Web service” radio button.  This should be the default value, but if it isn’t, select it.

11.  Click the “Next” button.

screenshot.618

12.  Now enter the location of the target service to be consumed in the edit box.  In our case, we are trying to consume the “UserProfileService.asmx” service which resides in the /_vti_bin/ virtual location off your current SharePoint site.  Simply copy the site URL of your site and append “/_vti_bin/UserProfileService.asmx” to it.  For example, if your site URL is http://www.crayveon.com/sites/SuperTeam/default.aspx, drop the page reference and append the above text to give you a value of http://www.crayveon.com/sites/SuperTeam/_vti_bin/UserProfileService.asmx which you enter into the edit box.

13.  Click the “Next” button.

screenshot.619

14.  InfoPath will connect to the web service and display the list of valid operations.

15.  Scroll down the list and locate the “GetUserProfileByName” operation and select it.

16.  Click the “Next” button.

screenshot.620

17.  On the parameter screen, simply click the “Next” button.

screenshot.621

18.  Ensure that the “Store a copy of the data in the form template” option is unchecked.

19.  Click the “Next” button.

screenshot.622

20.  On the next screen, you can specify the name you wish to give this data connection.  By default it will be called “GetUserProfileByName”, but you can change it if you’d like.

21.  Click the “Finish” button.

 screenshot.624

22.  The new data connection is now shown in the “Data Connections” dialog window.

23.  Click the “Close” button.

 screenshot.625

Now by simply using this data connection in your form, you have access to the vast array of data made available to you via SharePoint’s User Profile Service Application.

 



Cheers
C




image

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 3

Written by Cornelius J. van Dyk on . Posted in Blog

Continued from…

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 1

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 2

 

17.  On the parameter screen, simply click the “Next” button.

screenshot.621

18.  Ensure that the “Store a copy of the data in the form template” option is unchecked.

19.  Click the “Next” button.

screenshot.622

20.  On the next screen, you can specify the name you wish to give this data connection.  By default it will be called “GetUserProfileByName”, but you can change it if you’d like.

21.  Click the “Finish” button.

 screenshot.624

22.  The new data connection is now shown in the “Data Connections” dialog window.

23.  Click the “Close” button.

 screenshot.625

Now by simply using this data connection in your form, you have access to the vast array of data made available to you via SharePoint’s User Profile Service Application.

 

For the sake of improved load time and user experience, this article is divided into three parts.  If you wish to read or print the complete article, it can be found here:

 

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Complete

 

 

 



Cheers
C




image

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 2

Written by Cornelius J. van Dyk on . Posted in Blog

Continued from…

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 1

 

10.  Select the “SOAP Web service” radio button.  This should be the default value, but if it isn’t, select it.

11.  Click the “Next” button.

screenshot.618

12.  Now enter the location of the target service to be consumed in the edit box.  In our case, we are trying to consume the “UserProfileService.asmx” service which resides in the /_vti_bin/ virtual location off your current SharePoint site.  Simply copy the site URL of your site and append “/_vti_bin/UserProfileService.asmx” to it.  For example, if your site URL is http://www.crayveon.com/sites/SuperTeam/default.aspx, drop the page reference and append the above text to give you a value of http://www.crayveon.com/sites/SuperTeam/_vti_bin/UserProfileService.asmx which you enter into the edit box.

13.  Click the “Next” button.

screenshot.619

14.  InfoPath will connect to the web service and display the list of valid operations.

15.  Scroll down the list and locate the “GetUserProfileByName” operation and select it.

16.  Click the “Next” button.

screenshot.620

 

Click HERE to continue to Part 3

 

 



Cheers
C




image

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Part 1

Written by Cornelius J. van Dyk on . Posted in Blog

For the sake of improved load time and user experience, this article is divided into three parts.  If you wish to read or print the complete article, it can be found here:

How do I – Add an InfoPath Data Connection to consume the UserProfileService.asmx web service – Complete

 

As we know, InfoPath forms have the ability to consume data from SharePoint’s User Profile Service Application through the SharePoint Web Services or to be more exact, through the UserProfileService.asmx web service specifically.  The question is how to do that?  It can be achieved by following a few simple steps as outlined below.

1.  From InfoPath, click the “Data” tab in the top menu.

2.  From the Data tab ribbon that opened, click “Data Connections”.

screenshot.615

3.  The “Data Connections” dialog window opens.

4.  There should be one data connection named “Main Data Connection” displayed already.

5.  Click the “Add” button to add a new connection.

screenshot.616

6.  The “Data Connection Wizard” appears.

7.  Select the “Create a new connection to:” radio button.

8.  Select the “Receive data” radio button.  NOTE:  These are usually set by default, but if they’re not selected on your form, select them.

9.  Click the “Next” button. 

screenshot.617

 

Please click HERE to continue to Part 2

 



Cheers
C




image

InfoPath

InfoPath is dead!

Written by Cornelius J. van Dyk on . Posted in Blog

InfoPath is dead!  We all knew it had to happen eventually.  The Office Team blogged on the Office Blog today noting the death of InfoPath.  From the third paragraph:

“This means that InfoPath 2013 is the last release of the desktop client, and InfoPath Forms Services in SharePoint Server 2013 is the last release of InfoPath Forms Services. The InfoPath Forms Services technology within Office 365 will be maintained and it will function until further notice.”

There will be no future version of InfoPath.  Not much beyond that is shared at this time, except the assurance that there’s another 9 years left of official support for On-Prem InfoPath deployments.  A sneak peak of what’s to come is supposed to be in the “Update on InfoPath and SharePoint Forms” session at the SharePoint Conference in March.  We all knew it was coming so it shouldn’t be a big surprise that it’s finally here.  I think more surprising is the fact that Microsoft waited this long to announce that the 2013 version was the last version.  That should make for some interesting developments as far as SharePoint forms go.



Cheers
C




image