Questions tagged [admin-bro]

Admin bro is a node.js/react plugin that auto generates admin pages based on configuration

34 questions
0
votes
0 answers

Implement Admin Bro Import/Export Function using react

I have created a admin panel using admin Bro / now i want to add export and import function to page to export and import the data using csv file . How can we do it ?
KAMAL
  • 148
  • 7
0
votes
0 answers

Authentication issue when calling AdminBro API in Node.js app

I'm currently working on a Node.js application where I'm using AdminBro as the admin panel. I have encountered an authentication issue specifically when calling the AdminBro API to access data. Here's a simplified version of my code: const express =…
0
votes
0 answers

How create multiple unknow dynamic fields for AdminBro + Mongoose

How to create fields for filling in admin-bro when editing a record with dynamic key names that were not originally specified in the mongoose model schema, for further possible editing of these fields through the admin-bro interface ? Model…
0
votes
0 answers

Adminjs middleware not getting executed

I am using adminJS and want to log all incoming requests along with the adminUser that initiated those requests.I added a simple middleware but it does not get executed at all import AdminBro from 'adminjs'; import AdminBroExpress from…
PirateApp
  • 5,433
  • 4
  • 57
  • 90
0
votes
1 answer

AdminBro - Failed to upload image

admin-bro and sequelize failed to upload image. It still works on Edit but not on New. It doesn't show the error at any other line in the code. Installed libraries and their versions "admin-bro": "^2.2.4", "admin-bro-expressjs":…
0
votes
0 answers

ERROR: Trying to bundle file but it doesn't exist with adminjs/adminbro

I have an api with adminjs and upload feature with aws s3 that is working correctly when i run locally. But when deployed on vercel i get the following error: t.Module.\_extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load…
0
votes
1 answer

Adminjs ComponentLoader not found

I have been trying to make custom component in Adminjs 6.6.5 dashboard but Adminjs ComponentLoader not found error occurs. then i have tried to import AdminJS from 'adminjs' const {ComponentLoader} = AdminJS but i get: Trying to bundle file…
Josip Marić
  • 227
  • 4
  • 21
0
votes
2 answers

Adminjs given file doesnt exist

I have been trying to make my custom component for Adminjs dashboard. My project is made in Nodejs and Adminjs can be customized in React, so I created dashboard.jsx file inside components/dashboard folders, but when I implement that in…
Josip Marić
  • 227
  • 4
  • 21
0
votes
1 answer
0
votes
0 answers

adminbro Filter content for listing

I am creating an admin panel with a database that has a lot of types of data within one collection. I am using mongodb and adminbro and mongoose! types of data under the same collectoin are vehicules with the type of (cars, buses, boats ), and I…
alcolopa
  • 35
  • 5
0
votes
1 answer

nodejs adminBro mysql There are no adapters supporting one of the resource you provided

I have been trying to implement Admin Bro with my existing mysql sequelized database. I get plain Admin panel and it works fine, however when i try to fetch db i get: There are no adapters supporting one of the resource you provided error. Please…
Josip Marić
  • 227
  • 4
  • 21
0
votes
1 answer

Customise pagination for resource in adminjs/ admin bro

I am new to admin bro/ adminjs, I am looking to modify pagination for a resource. I did see the example here https://adminjs.co/Pagination.html and tried, but I am missing how to configure it with resource. Can anyone point me to full example or how…
0
votes
1 answer

When in localhost AdminBro bundle function is taking path, but when deployed to the Vercel production getting error, why?

In the local server, it is working correctly. Only when deployed to Vercel getting this error. This is the following code - (The error is occurring in the AdminBro.bundle as it is not taking the argument.) imagePath: { isVisible: {…
0
votes
1 answer

Execute script when click Save in Edit page AdminBro

In documentation, AdminBro said that they have predefined action edit (record action) - update records in a resource They also have hook after. So I define a function and assign it to MyResource.edit.after. The problem is this function not only…
Felix
  • 127
  • 2
  • 10
0
votes
2 answers

@admin-bro/nestjs with @admin-bro/sequelize and mysql ? Getting Error NoResourceAdapterError

Facing same issue with '@admin-bro/sequelize' NoResourceAdapterError: There are no adapters supporting one of the resource you provided import { Database, Resource } from '@admin-bro/sequelize'; import { AdminModule } from…
Noman iqbal
  • 71
  • 1
  • 8