Hi Team,
I am getting error when I used the extension.
Thanks,
Rajat Agrawal
Hi Rajat ,
did you make sure to set the data type of the binary date in the entity ?
João Moreira wrote:
Hi Joao,
Which entity you are talking here. I am sending url in the input parameter.
I had the same issue, didn't have any time find to correct the solution properly. I just needed the binary file (for an image), so modified the solution to handle my immediate needs.
I found the issue was related to he lines below I never needed a filename, so I just hardcoded a filename, and I commented out ContentDisposition, which was causing the null reference.
You can find the problem around lines 95/96 of BinaryDownload.cs
// ContentDisposition cDispo = new ContentDisposition(response.Headers.GetValues("Content-Disposition")[0]); ssFileName = "DownloadedFile";// cDispo.FileName;
If someone has time to look into the issue further, this is a handy component.
I had the same error and resolved as mark said.
I think it will be enough to do an extra validation because in that context sometimes we don't have the Headers to get that specific value.
Otherwise a default filename should be returned.
Hey guys,
I apoligize for not seeing this sooner. I’ll take a look at the component tommorow.
Do you have an url I can test with? Feel free to PM me.
Expect some update tommorow.