Questions tagged [ng-admin]

An AngularJS admin GUI for any RESTful API

An AngularJS admin GUI for any RESTful API: https://github.com/marmelab/ng-admin

110 questions
0
votes
1 answer

Back& File Upload Support - JSON

I'm currently trying to get the file upload working but hitting a problem in that the form is uploading the payload with multipart form data instead of a JSON object. Back& will only accept a JSON object with filename and filedata inside, but I…
tutchmedia
  • 139
  • 2
  • 12
0
votes
1 answer

Re-building ng-admin after editing source code

I made some modification in the ng-admin source code, so I need to rebuild it using webpack. I installed all node modules from the package.json with $ npm install And then ran webpack -d which used the webpack.config.js. I removed the , exclude:…
0
votes
1 answer

Creating a CustomType in ng-admin fails silently

I'm trying to write a custom type to create a cascading dropdown. I start with defining a new custom type extending reference type. The problem is that no matter what I write inside the class body the component doesn't show up with no error. Here is…
deck80
  • 21
  • 4
0
votes
1 answer

ng-admin does not recognize custom field view

I'm using ng-admin. According to doc, I created a custom field. ng-admin recognize the FooFiledType but it dosn't render the FoofieldView and use the original FieldView ! config module : angular.module('admin', ['ng-admin']); import FooField from…
Saman Mohamadi
  • 4,454
  • 4
  • 38
  • 58
0
votes
0 answers

Cascading dropdown list in ng-admin

I'm using ng-admin. I have two dropdown lists in a page, one for Provinces and the other for cities. I would like to populate choice of cities according to the value of the selected Province field. I can't load the whole list because it is…
0
votes
1 answer

Iterating over an array that is a nested property with angularjs

I have this json: [{ "id": 5, "dipendenti": { "id": 2, "cognome": "panico", "dataCreazione": 1462100783589, "attivo": true, "dataModifica": 1462100783589, "nome": "ettore ", "anagrafica": …
deck80
  • 21
  • 4
0
votes
1 answer

How to use authorization API in ng-admin app?

I've been thinking to use multiple APIs in my ng-admin app. I also have an another authorization API running on the host which provide tokens for other API calls. I would like to use all above APIs in my ng-admin app. Customizing the API Mapping of…
aog
  • 484
  • 3
  • 14
0
votes
1 answer

Custom type: the field class is injected as an object, not a function

I define a custom field on ng-admin to upload a file. I use the documentation here. I include the repository admin-config. Define my CustomeFileField as follows: import Field from "./admin-config/lib/Field/Field.js"; class CustomFileField extends…
user2626210
  • 115
  • 5
  • 13
0
votes
1 answer

how to configure ng-admin to work with several different URIs

how can I configure ng-admin to work with several different URI endpoints? e.g. var admin = nga.application('My Admin') .baseApiUrl('http://localhost:6007/api/v1/'); lets me use localhost:6007 as my URI I would like to be able to use additional…
Elad Katz
  • 7,483
  • 5
  • 35
  • 66
0
votes
1 answer

Ng-admin custom reference list - with ability to create new entry

I'm trying to figure out how I can make a custom directive which will combine: reference list select field create button which will show a reference entity creation view and on creation save. reload reference list entities, so i can choose a newly…
ulikus
  • 186
  • 6
0
votes
1 answer

ng-admin : Difference between add and edit view

I yuse the smart ng-admin javascript framework for my admin I want to have some difference between edit and add view .. for instance, i want to add some fields in edit view : I would like to do someting like that : var addViewFields =…
user2626210
  • 115
  • 5
  • 13
0
votes
1 answer

access model value in ng-admin

I Use the smart ng-admin for my website administration. On the edit view, I display, say a post. On the other hand, I Want to upload an image for that post. My back api needs the information about my post.id , so , post is the model in ng-admin, I…
user2626210
  • 115
  • 5
  • 13
0
votes
2 answers

ng-admin and google maps

I am working on a project that uses ng-admin as framework and I am totally new with angular, etc. The thing is that I need to use google maps with that, because I have one Entity with Latitude and Longitude. But I have no idea about how I'm gonna do…
Hugo S. Mendes
  • 1,076
  • 11
  • 23
0
votes
1 answer

How to use embedded_lists with ng_admin (t.map is not a function )

I'm trying to get my REST api which exposes my mongodb database to connect to ng-admin. I've had limited success, I can see the _id's in the interface once I've converted them from objects to strings. specifically I'm having a problem with using…
Max B
  • 42
  • 8
0
votes
2 answers

angular doesn't load ng-admin

I'm trying to set up a simple app with angular 1.5 and ng-admin,I imported all the dependencies and done everything right but angular can't find the ng-admin module even though I have imported it this is my html : …
Alessandro Messori
  • 1,035
  • 1
  • 14
  • 23