Options

File import to NAV through webservice

Scenario:
External webpage needs to send files (pdf, jpg, docx etc) to NAV.
I've created a table with some fields to hold the files names, extensions etc - And a BLOB-field for the file itself - in NAV.

My problem:
I need a webservice, that can input these different files into my new NAV table. I've tried creating a page with the BLOB field on it, and publishing it as a SOAP webservice, but that didn't work: The webpages developer can "see" all fields BUT the Blob field at his end.. :-(

Any suggestions on how to accomplish this?

Best Answer

Answers

  • Options
    Per_KlebergPer_Kleberg Member Posts: 4
    NAV 2017 ;-)
  • Options
    Developer101Developer101 Member Posts: 528
    do you need to import the file or you could do with the link?
    United Kingdom
  • Options
    Per_KlebergPer_Kleberg Member Posts: 4
    Thanks TallyHo - worked like a charm :-)
  • Options
    RockWithNAVRockWithNAV Member Posts: 1,139
    I dint completely understood what you want to achieve bur see if this make sense to you

    https://rockwithnav.wordpress.com/2017/06/30/file-to-byte-conversion-client-to-server-move/
Sign In or Register to comment.