Unable to save attachment via SubmitToSharePointList command - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Unable to save attachment via SubmitToSharePointList command

Last post 04-16-2020 12:02 PM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-16-2020 10:23 AM

    Unable to save attachment via SubmitToSharePointList command

    We are using SharePoint 2016 on premises and FormsViewer. SubmitToSharePointList command successfully creates and updates list items, but we have problem when trying to add attachment to the same list.

    Here is the command used: SubmitToSharePointList /submit=ShPList /mapping=FilmAttachment /dsname=AddAttachment
    All parameters and are correct. The corresponding list item is updated by this command, as I can see a new version added in version history without any change.

    Attachment field of that list item stays blank.


  • 04-16-2020 11:23 AM In reply to

    Re: Unable to save attachment via SubmitToSharePointList command

    Hi, Arthur - I'm sorry for the inconvenience - I've taken a look at the code and I don't think this is currently implemented in FormsViewer. One option might be to use SaveToSharePoint to save your attachments to a library and then include a link to them in your list item.... would that work for you?
    Hilary Stoupa

  • 04-16-2020 11:35 AM In reply to

    Re: Unable to save attachment via SubmitToSharePointList command

    Thank you for the explanation, Hilary!

    I checked everything several times and didn't suspect that it's not supported. Will try to find some workaround for this.

    By the way, do you have any plans to implement it in the future? 

  • 04-16-2020 12:02 PM In reply to

    Re: Unable to save attachment via SubmitToSharePointList command

    I'm going to open a case on it, so we at least have it on our radar. Decisions on implementation of features are not mine to make, but this will at least get it on the radar. :)
    Hilary Stoupa

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