Code Monkey home page Code Monkey logo

Comments (11)

harrisrobin avatar harrisrobin commented on May 27, 2024 1

@arnaudbesnier yes that's right!

from forest-express-sequelize.

arnaudbesnier avatar arnaudbesnier commented on May 27, 2024

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.

harrisrobin avatar harrisrobin commented on May 27, 2024

@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.

arnaudbesnier avatar arnaudbesnier commented on May 27, 2024

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.

harrisrobin avatar harrisrobin commented on May 27, 2024

from forest-express-sequelize.

harrisrobin avatar harrisrobin commented on May 27, 2024

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.

arnaudbesnier avatar arnaudbesnier commented on May 27, 2024

@harrisrobin is 'location' also the name of your point geometry field in your model?

from forest-express-sequelize.

arnaudbesnier avatar arnaudbesnier commented on May 27, 2024

@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.

harrisrobin avatar harrisrobin commented on May 27, 2024

@arnaudbesnier thank you for the follow up! What you said worked, however the field itself is read-only in forestadmin's UI:
screenshot 2017-02-11 18 02 04

Also, I remember being told there was a map widget so was wondering how that would work.

Thanks a lot :)

from forest-express-sequelize.

arnaudbesnier avatar arnaudbesnier commented on May 27, 2024

@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.

harrisrobin avatar harrisrobin commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.