Is it possible to update the resulting dataset from AppDB once updated in the ProCode editor?

I was recreating the table showcased in the Editable Data webinar using some of our own data. I happened to make a mistake when I first ran the pro-code editor that left out a column and some values from another column due to a data typing mismatch. However, when I ran the adjusted code, the dataset that generated from when it first ran did not update its schema. I tried deleting the dataset and running again to see if a new dataset would generate, but it just recreated the one I had just deleted. How does one replace the old dataset with the updated one that would have generated from the updated json in the ProCode editor?

Thanks for the help,

Zach

Answers

  • brycec
    brycec Coach

    I'd imagine the schema is maintain either in the manifest.json file or in the schema of the AppDB collection. Can you find the associated collection in Asset Library > AppDB Admin and see if the schema is what it should be? If not, you can edit it there on the collection.

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

  • JosephMeyers
    JosephMeyers Domo Employee
    edited May 15

    You can update your schema in AppDB Admin and the manifest file. If you just update in AppDB Admin the manifest will take precedence whenever you make a new card from the design or push a new design version so it's recommended to do it in the manifest for permanent changes.