Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Anybody successful with SQL SERVER filestream function??

    Version 11.1p built 2017-12-05

    I wonder if anybody has been able to use sql server filestream which stores blob file into a file system instead of in the database?

    The following code which is a slight change of a example works with normal varbinary(MAX) type but not successful if I use FILESTREAM type.

    Code:
    isc.DynamicForm.create({
    autoDraw: true,
    ID: "uploadForm", width: 300,
    dataSource: bas_blob_dat,
    fields: [
    { name: "contents", type: "imageFile", hint: "Maximum file size is 5 MiB" },
    { title: "Save", type: "button",
    click: function () {
    this.form.saveData("if(dsResponse.status>=0) uploadForm.editNewRecord()");
    }
    }
    ]
    });
    isc.ListGrid.create({
    autoDraw: true,
    canRemoveRecords:true,
    ID: "mediaTileGrid",
    width: "100%",
    height: 224, top:100,
    tileWidth: 100,
    tileHeight: 150,
    dataSource: bas_blob_dat,
    autoFetchData: true
    });

    #2
    As with any server issue, you need to post the server-side log for what happens. In this case, your DataSource is also obviously required.

    Comment

    Working...
    X