Umbraco Forms - Get filestream from uploaded files inside custom workflow
Hi,
In the context of a custom workflow, I'm trying to get the byte stream of files uploaded through the Upload field. The goal is to save them inside a sharepoint document library.
The thing is, I can't seem to get the stream. All I get from the RecordField is the relative URL of the media item.
I tried to retrieve the Media Item using the IMediaService.GetMediaByPath() method, but that returns null.
I figure it can't be that difficult, but I seem to miss something.
Umbraco Forms - Get filestream from uploaded files inside custom workflow
Hi,
In the context of a custom workflow, I'm trying to get the byte stream of files uploaded through the Upload field. The goal is to save them inside a sharepoint document library.
The thing is, I can't seem to get the stream. All I get from the RecordField is the relative URL of the media item.
I tried to retrieve the Media Item using the IMediaService.GetMediaByPath() method, but that returns null.
I figure it can't be that difficult, but I seem to miss something.
Can anyone help
Kind regards Gilles
is working on a reply...