Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 11 of 11 total
Thread Blob loading URL
Wed, Jun 20 2018 9:51 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Hi again Smile

It's working now. I was missing the "document" column in one of the
datasets, that's why it showed 0 as content.
Thanks all for your help Smile

Regards,
Hüseyin



Den 20-06-2018 kl. 14:36 skrev Raul:
> On 6/20/2018 6:08 AM, Hüseyin Aliz wrote:
>> Content-Type: application/pdf
>> Content-Length: 0
>
> In your case it's returning 0 bytes so correct mime type but no content
>
> I tried it here with 2.06 Build 15 and it works fine for me - using
> both built-in as well as EWB Web Server
>
> I used databound sample database and manually put some PDF and MS Word
> blob data in there
>
> Request for PDF record looks like this :
>
> http://192.168.0.200:8888/databases?method=load&database=ExampleData&dataset=Customer&column=ContactPhoto&row=AAA
>
>
> and I do get back proper content (PDF shows in browser) and headers
> look as follows :
>
> HTTP/1.1 200
> Date: Wed, 20 Jun 2018 12:30:13 GMT
> From:
> Server: Elevate Web Builder Web Server
> Connection: Keep-Alive
> Cache-Control: no-cache
> Content-Type: application/pdf
> Content-Length: 23038
>
>
> for MS Word doc it prompts to save the file but that otherwise works
> fine.
>
> http://192.168.0.200:8888/databases?method=load&database=ExampleData&dataset=Customer&column=ContactPhoto&row=BBB
>
>
> and headers returned:
>
> HTTP/1.1 200
> Date: Wed, 20 Jun 2018 12:31:12 GMT
> From:
> Server: Elevate Web Builder Web Server
> Connection: Keep-Alive
> Cache-Control: no-cache
> Content-Type: application/msword
> Content-Length: 16543
>
> Works as expected here with latest version
>
> Only difference is you're still using the older datasets url format
> with custom prefix (online) but assuming everything is configured
> properly it should work - i would hence double check all your resource
> names etc.
>
>
> Raul
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image