Tag: InfoPath

How to start an Approval workflow programmatically in the InfoPath form code? Create a web reference that points to http://yourSiteUrl/_vti_bin/workflow.asmx . Configure an Approval workflow in your form library and capture the template id. From form library settings->workflow settings, click the workflow name, right click in the page to View Source. Search for “templateid”….

Itay has blogged the exact steps and screenshots on how to display current user info (email, full name, manager, etc) in InfoPath form by calling UserProfileService.asmx in MOSS 2007, most importantly without writing any code! http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx Note: I was getting the following error during my first try: The query cannot be run for the following DataObject: GetUserProfileByNameInfoPath…