Comments (11)
@arnaudbesnier yes that's right!
from forest-express-sequelize.
Hey @harrisrobin, where is located the file containing the code? Did you create a /forest directory at the root of your project?
from forest-express-sequelize.
@arnaudbesnier i did not! I am using the middleware and so far have had no need to create a /forest directory.
My structure looks like this (i am using feathersjs)
src
-- app.js
-- models
-- index.js
The code is located in app.js, here is a gist
https://gist.github.com/HarrisRobin/d7351dd8896aa70b490435f4c561d11c
from forest-express-sequelize.
Yes but you need to. If you don't create a file like /forest/job.js
le liana won't read the smart field you created. Sorry, it is not really clear in the documentation.
from forest-express-sequelize.
from forest-express-sequelize.
Hi @arnaudbesnier this issue still persists for me. Any chance I can get some help? I re-read the documentation and do I have to create a smart collection
for the smart field
to work? Was hoping to avoid doing that if it's just to add a simple field like location but if that's what's needed I'll give it a try!
Thanks
from forest-express-sequelize.
@harrisrobin is 'location' also the name of your point geometry field in your model?
from forest-express-sequelize.
@harrisrobin then you should try another name, I think it should work.
No doubt, we can consider the behaviour you described as a bug, so the workaround is to find another name for your Smart Field and it should appear in the UI.
from forest-express-sequelize.
@arnaudbesnier thank you for the follow up! What you said worked, however the field itself is read-only in forestadmin's UI:
Also, I remember being told there was a map widget so was wondering how that would work.
Thanks a lot :)
from forest-express-sequelize.
@harrisrobin Smart Field are read only right now, but we definitely want to implement the feature to make them writable. It should be implemented within a month or 2.
About widgets, we really need to improve our documentation but you can take a look in your Collection Settings > Fields > Custom Location field > Widget. To display your collection settings, you just have to activate the "Edit Layout" switch.
from forest-express-sequelize.
@arnaudbesnier got it. looking forward for the feature as it's important for us to be able to define location right now :)
I think this can be closed now. Thanks for your help @arnaudbesnier !
from forest-express-sequelize.
Related Issues (20)
- Smart action hook previousValue wrongly set HOT 1
- The LianaOption "expressParentApp" is not described in the library's types HOT 2
- Typescript typing HOT 1
- Invalid usage of the option NEXT in the FETCH when creating an object HOT 4
- TypeError: Cannot read property 'replace' of null HOT 2
- Unexpected error: attribute.split is not a function HOT 2
- "column does not exist" after upgrade to 3.6.8 HOT 11
- "Create a new [entity]" sets the new entity to all the relations of kind [entity] HOT 1
- Relations (Has many getter) not returning data for rows HOT 2
- Format values, tooltips and legends in API-based charts HOT 5
- Type SmartActionLoadHook does not support async function
- Height Truncated in View Content
- Connection refused by port 3310 HOT 1
- Smart Actions No Longer Working
- Can't override route using ForestRequest in TypeScript
- Segments no longer working
- Can't use import syntax (ES6 module) in the Forest Folder
- Not correct display of default values for a field of type JSONB
- forest/authentication route returns 404
- How to configure this for local environment? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forest-express-sequelize.