Save InfoPath Attachment to SharePoint 2010 Document Library

I have a requirement where the business needs to save an attachment form InfoPath form to SharePoint document library direct.

1: Build the InfoPath form

Create three fields

  • WebSiteURL: string
  • DocLibName: string
  • Attachment: base64Binary

2: Build the Web Service

3: Connect InfoPath to Web Service

For more information, Calling Web Service from InfoPath 2010 with Parameters

4: Verify

Download source files (InfoPath & Web service)


SharePoint 2013 Workflow is not available

After installing SharePoint 2013 and SharePoint Designer 2013, you will notice that no SharePoint 2013 workflow is available!! Only SharePoint 2010 is there.

We can summarize the steps:

  1. Install Workflow Manager 1.0
  2. Configure Workflow Manager 1.0
  3. Register Workflow Manager 1.0
  4. Verify Workflow Manager 1.0

To install SharePoint 2013 Workflow, do the following:

  1. Install Workflow Manager 1.0 from here

Click on Install button to start installation.

  1. After finishing downloading and installation, you will see the following screen shot

  2. The Workflow Manager Configuration Wizard automatically appear

  3. User the first option, you can follow this link for more
  4. Register your workflow manager with your SharePoint farm

    Register-SPWorkflowService –SPSite “<SiteCollection>” –WorkflowHostUri “http://ServerName:12291″ –AllowOAuthHttp

  5. Verify using SharePoint Designer 2013

    Note: a new IIS website added to your IIS