Git Product home page Git Product logo

budibase-file-upload's Introduction

Hi there ๐Ÿ‘‹

budibase-file-upload's People

Contributors

chungchunwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

budibase-file-upload's Issues

Empty file causes upload error on Postgres DB

Hey,

I've encountered the following issue while using Budibase-File-Upload:

I have a Postgres DB setup with a particular text field for uploading invoices (Rechnung in german).
When I now want to add or update a new record, but without adding a file with Budibase-File-Upload, I receive an error 500 from the Database saying, that the type is incorrect.

That would be an example response:
{"status":500,"validationErrors":{"Rechnung":["must be of type string","has an incorrect length"]}}

Upon further investigation, I noticed, that as soon as Budibase-File-Upload is included into the Form-Element, the corresponding Field is set to an integer 0. => In my case, that means ... Rechnung: 0, ... => and that seems to be the problem, cause in the Payload, an integer is sent to the Database instead of a string.

When I leave Budibase-File-Upload out or replace it with a normal text-input filed, I can upload without a problem.

I also tried to modify the payload upon clicking the Submit-Button (if Rechnung equals to 0, replace the 0 with ""), but that doesn't work either.

The strange thing though, it has worked in the past with BudiBase versions prior to 2.5.x

Can someone help me with this?

Falied to load resource

I've made 2 screens to CRUD my files.
On the update screen when i try to view data for update i receice the error on the screen.
Can you help ?
UpdateAttachFile2

Import a Date

Would be Great if it was possible to configure the String of a Date Field Like:
DD.MM.YYYY or YYYY-MM-DD. I cant Import my excel List because i have a Date in german Style. But it also does Not Work of i convert it, i dont know how it has to Look.

upload error ! payload too large

Dear @chungchunwang

Thanks in advance for your help with my previous request!

This time I am facing something weird, I use the file upload to upload the attachments and I'm storing the file in postgresql database!

But I don't know why each time I upload a file that have size more than 9 or 10 MB I get this error message "upload error payload too large" I already raised the upload size for the client!

Notice that I have read and followed all the steps that you've provided in this issue issue number #2

Appreciate your help in this matter.

File Upload to REST API with a POST call

Hi @chungchunwang ,

Thank you for making this plugin available. I am trying to use the plugin to post the file with content-type: multipart/form-data. However, I am not able to get it right. Can you please point me to an example for the same please? Thanks in anticipation.

Tejo

Decode Serialized JSON Back to Binary Object After Upload

I have a use case where when a user uploads a file using the Budibase-File-Upload plugin, I would like to send out an email with the same file attached to it. I am using an MS SQL database with a nvarchar(max) field configured to accept the JSON string. Is there a way to pull the string into some Javascript that can decode it back into a file? All of the files involved with this use case would be .pdf files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.