Forum Discussion

Re: React.js in Quick Base

I've started doing something similar to this, using the AddReplaceDBPage API to upload my parcel bundle to a quickbase db page.

I started getting errors saying my max file size has been exceeded. Does anyone know what the limit is? I couldn't find it documented anymore.

Currently I'm trying to pair down my dependencies to shrink the bundle 

Also, is there a way with parcelJS to have it fallback to a CDN rather than bundling a 3rd party library? I imagine that would significantly reduce the bundle size, but I haven't found a good way to do this.

2 Replies

  • RyanStanford1's avatar
    RyanStanford1
    Qrew Captain
    If there is a file attachment field involved, those files are maxed out at 100MB
    • BrianForbis's avatar
      BrianForbis
      Qrew Member
      I've found out that the file upload issue I was having was not with the max file size, but actually had to do with the text characters within the Javascript bundle I was trying to upload into quickbase.

      The issue is that depending on what node_modules dependencies you are bundling, you could potentially bundle a dependency which contains characters in it that are not valid for being included in a CDATA tag within the XML payload for the API_AddReplaceDBPage operation (more info on that here ).

      This has really given me a huge headache, as I don't even know how to begin to find out which JS dependency I have that has special characters in its source code.

      I'm hoping that the new JSON API they have been talking about will not have this issue. Does anyone know if there is going to be an opt-in beta for using that API?

      ------------------------------
      Brian Forbis
      ------------------------------