Giter VIP home page Giter VIP logo

Comments (6)

nayanbhagowaty avatar nayanbhagowaty commented on June 16, 2024

@peterswimm @benbrown .. I found the issue. The "id" field is missing in the scripts.json created in CMS. Could it be taken as bug & update in Botkit-CMS?

from botkit-cms.

benbrown avatar benbrown commented on June 16, 2024

@nayan112 yes! the id field should definitely be included. Ddi you copy the scripts.json file directly from your CMS instance, or did you use the export tool from within the UI?

from botkit-cms.

nayanbhagowaty avatar nayanbhagowaty commented on June 16, 2024

@benbrown I tried exporting & copying the output within the CMS UI. Both ways, ID is missing.

The next challenge is getting the variable filled with user input & display it for testing purpose. I don't see any documentation or sample code. could you help?

from botkit-cms.

benbrown avatar benbrown commented on June 16, 2024

@nayan112 are you sure you are using the latest version of botkit-cms?

from botkit-cms.

benbrown avatar benbrown commented on June 16, 2024

the id field should definitely be present in the json file created by the CMS. It may be missing from the export.

Regarding variables, you set them in the convo.vars property during a controller.studio.before or other handler.

from botkit-cms.

nayanbhagowaty avatar nayanbhagowaty commented on June 16, 2024

@benbrown You're right. It's missing from export only, present in script.json in .data folder.

There're few more differences from repo document related to initial run (eg. npm run build didn't work for me). I have documented here to help
beginners like me.

from botkit-cms.

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.