-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Report an issue with Custom JS Libraries #19037
Comments
The following library could not be loaded: (https://www.jsdelivr.com/package/npm/gocardless-nodejs) We need to connect to our payment provider GoCardless Importance: CRITICAL Thanks for your help |
Was giving https://cdn.jsdelivr.net/npm/@google-cloud/bigquery@6.1.0/build/src/index.min.js a try to interface with BigQuery as there is still no integration as of today (+ wanted to do more than just pulling data) but same Unfortunately custom libs falls short of expectations as only a few (small ?) libs are supported. |
I was unable to install https://cdn.jsdelivr.net/npm/@elastic/elasticsearch@8.6.0/index.min.js |
The following library could not be loaded: https://cdn.jsdelivr.net/npm/react-diff-viewer@3.1.1/lib/index.min.js We need to do some textual comparison ,Our internal systems need to conform to antd's specifications |
Tried to install the gapi and the google-auth-library library without success. What library are you using for getting access to google sheets and is it available for us to use in our applications? |
i once tried to use that libraries but fail, may they are not using any libraries instead they are using vanilla js or fetch maybe |
The following library could not be loaded: https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.min.js returning Library is unsupported. |
Base64 to Array-Buffer is unsupported: Here the following link to library: |
https://cdn.jsdelivr.net/npm/graphql@16.7.1/version.min.js How important are these libraries for your application? A brief description of your use-case |
Works: https://cdn.jsdelivr.net/npm/@rdkit/rdkit@2023.3.2-1.0.0/dist/RDKit_minimal.min.js How important are these libraries for your application? A brief description of your use-case |
Hello, I would like to request support for the bson-objectid library: https://cdn.jsdelivr.net/npm/bson-objectid@2.0.4/objectid.min.js This library would be a nice-to-have. My use-case is I am using a MultiSelect widget, after selecting the options the end user would like I run a JS function that stores the selected option values into an array of ObjectIds. For example,
However, since there is no way to convert the string representations of ObjectId values back to actual ObjectId objects in JavaScript without the MongoDB Node.js driver or bson-objectid utility library this is not possible. So for now, my workaround is to limit the end-user to only selecting a limited amount of options. So my query looks like this.
Which proposes limitations on user experience and is more clunky in terms of performance and cleanliness. I'll have to have multiple queries that are identical but have different amounts of ObjectIds. And an extra block of code that checks the length of the array and depending on that calls the correct function is I cannot have empty ObjectIds. |
https://github.com/whitequark/ipaddr.js/blob/main/ipaddr.min.js All the above related to ip-address management don't work. It would be really nice to have these libs working in appsmith. |
https://www.jsdelivr.com/package/npm/echarts |
Im not able to install the MUI MATERIAL cdn package , is there some alternative or its possible to fix ,this cause the material is on of the most important library out there for REACT Components : https://cdn.jsdelivr.net/npm/@mui/material@5.15.12/umd/material-ui.production.min.js |
Hi @vadimchilinciuc , the library is failing to import because libraries in JSObjects are blocked from accessing the window object and DOM for security reasons. JSObject libraries are primarily for data transformation. You can use React or any other library in a custom widget though, and this will isolate the code so that it can have full access to the window and DOM. Then you can pass data back and forth through the appsmith.model inside the custom widget. More info here: |
hi appsmith i tried to insatll thx |
can't install supabase: https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2 |
Hi @kdamsmt , we have the correct Supabase CDN link in the Recommended Libraries. Just scroll down and click the download button for Supabase. Also, both the UDM and ESM links from here will work: I'm not sure why your version won't work, but the first option that's built into the library list should work fine for you. |
the following lib can not be loaded: I use it to connect to Gradio API |
Hi @justinzyw, that's the url for the landing page for that library, not the library install link. This link should work: |
The following lib cannot be installed due to platform limitations: |
Hi @dwanesun , this library is made for use with Node.js on the server side. Only client side libraries can be installed in Appsmith. |
The following lib cannot be installed due to platform limitations: |
Cannot install jwks-rsa. I think this should be allowed since jsonwebtokens is recommended by Appsmith, also managed by Auth0, and referenced in their examples:
|
https://cdn.jsdelivr.net/npm/replicate-api/dist/index.min.js |
https://cdn.jsdelivr.net/npm/casdoor-nodejs-sdk@1.26.0/lib/cjs/index.min.js casdoor |
https://cdn.jsdelivr.net/npm/@paddle/paddle-js@1.2.3/dist/index.min.js |
https://cdn.jsdelivr.net/npm/@infisical/sdk@3.0.3/lib/index.min.js It is not possible to integrate the insifical library |
Installing I've tried:
|
@mwoollen , the library importer blocks the use of libraries that access the DOM and window object for security. It's mainly for data manipulation, not UI libraries. But you can use Handson Table in a custom widget. I made a quick demo here: |
If you're facing issues related to Custom JS Libraries, please leave a comment along with a detailed description, screenshots, or a Loom video.
Certain libraries will not work due to platform limitations. If you would like to request support for a library, please provide the following information to help us prioritize your request:
The text was updated successfully, but these errors were encountered: