Topic: Unable to upload resources to Salesforce org

symphox free asked 3 years ago


**Expected behavior**\ Able to upload Pro Zips to SFDC for usage in work.

The MDB5/4 zips are huge. I cannot upload resources beyond 5mbs. anyone know how I can break these down into smaller bits without breaking functionality?

**Actual behavior**

NO CDN - Too big to upload to resources part of Salesforce **Resources (screenshots, code snippets etc.)**


Grzegorz Bujański staff answered 3 years ago


The src folder takes the most space in the package ~6MB. You can prepare your own zip which will consist only compiled files (mdb.min.js and mdb.min.css) ~1.5MB

Another option is to prepare your own version of the package using our webpack starter: https://github.com/mdbootstrap/mdb-webpack-starter. Just remove the components you won't be using and use the build command.


symphox free answered 3 years ago


Unfortunately no, this doesn't work.

What do you mean by the "compiled dist files"?

In Salesforce, I need to "require" each file that would be necessary for the component to work. But I do not know which file it is. And because these files are so large, I have had to break them down into 20ish zips.

Does anyone have any experience using this product with SFDC???



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.1
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: Bigsur
  • Provided sample code: No
  • Provided link: No