writing to datasets

the_tree
the_tree Member

We are running into issues writing to a domo dataset from a custom app.

Is that expected and if so, is our only option to create a shadow json doc to write the dataset and the new field to?


Thank you

Answers

  • Hi @the_tree

    What specific issues are you running into? What are the error messages you're getting? Are you trying to write to a new dataset? Has the dataset been correctly defined in your manifest file?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • This is about writing to an existing domo dataset, not creating a new one which we can do.

    It appears it is not possible from a security perspective

    Thanks!

  • Correct you can only write to an existing dataset in AppDB not in Domo proper

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • emm.... not entirely accurate @GrantSmith


    1) Domo stores app related data in AppDB which is a NoSQL database (so operates on collections of documents, similar to MongoDB)

    2) you CAN sync an AppDB to Domo's Vault as a dataset (see link below), it does create and update (via UPSERT) a dataset in Domo.

    https://developer.domo.com/docs/dev-studio-references/appdb#Manually%20Exporting%20Collections

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"
  • Looks like also if the dataset is written from the API, it can be written to

  • Thanks for the information @jaeW_at_Onyx I'll have to play around more with the syncing in custom apps.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**