File attachment option in InfoPath 2013 task form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

File attachment option in InfoPath 2013 task form

Last post 01-05-2017 07:49 AM by Frank Martin. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-19-2016 11:05 AM

    File attachment option in InfoPath 2013 task form

    Hello, I am making a workflow in SPD 2013. In workflow I have added standard approval task. Once I publish that workflow, SharePoint automatically generates InfoPath form. When I open that form in InfoPath 2013 I don't see any file attachment control. How can I give user option to attach file in approval task form generated by SPD? Thanks
  • 12-23-2016 07:29 AM In reply to

    Re: File attachment option in InfoPath 2013 task form

     I haven't looked at a standard approval task in quite a while - if you display the data source in advanced view (I'm guessing this is like a list form and displays a simple view of the data source) is there an attachments node? There may not be a way to do this....

    Hilary Stoupa

  • 01-05-2017 07:49 AM In reply to

    Re: File attachment option in InfoPath 2013 task form

     No there is no option for file attachment so I had to do this:

     1. Create a new list (or library) where you want files to be uploaded

    2. Made a copy EditForm.aspx where I set all field in that list as READ ONLY and set it as default

    3. Just before this form is displayed I added a step in workflow where I am create new item in that list

    4. In approval form I created a task field of type attachment which is displayed on form. I am setting its value in workflow with ID of newly created item for e.g. http://myserver/sites/somesite/Lists/MyList/NewEditForm.aspx?ID=34

    5. Clicking on that link in approval form opens that page where user can attach file

    6. User then comes back to form to press button to Approve or Reject 

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.