Skip to main content
Solved

Upload attachment using oData ifs10upd9

  • February 15, 2021
  • 2 replies
  • 337 views

Forum|alt.badge.img+3

Hi,

We’re trying to upload attachments to IFS using oData.

‘We’ve tried mimicing the Aurena behavior found when inspecting the page and sniffing the HTTP traffic. Projection: DocumentHome.svc

CreateAndConnect work fine but can’t send the file data.

The FileData steps just returns an HTTP 500 , internal server error.

 

A second approach we’ve tried is through the CreateAndImportDocument Projection.

I’ve tried all kinds of formating for the FileData property but won’t accept any of it. Below is a Base64 encoded binary string.

 

Since documentation is almost non existing I’m a bit stuck. 

Has anyone managed to use oData for attachment upload and can provide som working examples? 

Would be much apricated !

 

thx!

Best answer by dhlelk

Hi @NovAlbinL,

 

NovAlbinL wrote:

Since documentation is almost non existing I’m a bit stuck.

You could find the full documentation for CreateAndImportDocument.svc endpoint posted by @Mathias Dahl below,

 

Cheers !
Dhananjaya.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

dhlelk
Superhero
Forum|alt.badge.img+15
  • Superhero
  • March 1, 2021

Hi @NovAlbinL,

 

NovAlbinL wrote:

Since documentation is almost non existing I’m a bit stuck.

You could find the full documentation for CreateAndImportDocument.svc endpoint posted by @Mathias Dahl below,

 

Cheers !
Dhananjaya.


Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • March 1, 2021

Thx. Got a hold of the documentation from an IFS employee a week ago which solved the issue. 

We were missing the X-IFS-ContentDisposition header. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings