Workaround for deprecated GetUserProfileByName web service method - Hilary Stoupa
in

InfoPath Dev

Hilary Stoupa

Workaround for deprecated GetUserProfileByName web service method

If you are using Qdabra Forms and SharePoint Online, you may have run into this issue - the old UserProfileService.asmx service has been deprecated! This means we can't create a data connection for that service any longer. The qRules Command "GetUserProfileByName" doesn't rely on the web service for data, but it does need a data source to put the user data in.

One option is to use one of the XTPs we have provided here. The XTP already has logic set up you can easily leverage, and will add the needed data connection to your form.

You can also just use the XML from a previously created GetUserProfileByName data connection - I've uploaded a copy here. Just download the file, and add it to your form as a resource file. Create an XML data connection to the resource file - be sure to set it to query on load. I name mine "GetUserProfileByName" so I don't have to pass the data source name into the command.

Comments

No Comments

About Hilary Stoupa

I wandered into development after working as a business process analyst for a global manufacturing company. I create InfoPath solutions for our clients as well as work as a developer on company tools that extend InfoPath. I've also been instrumental in creating the InfoPath Master Class training provided by Qdabra.

Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.