Create DataSet API is not creating schema anymore.

This was working before. I am trying to create a dataset with a schema of 2 columns. The dataset creation is succesful but it is getting created without any columns in it. Even the example given in developer.domo.com doesn't work. 

 

I tried both dataset and Stream APIs. In both cases the API successfully created dataset but without schema in it.

 

Below is the Json I am using - is something broken?

 

 

 

 

{
  "name": "ABM-ClientData",
  "description": "ABM Client Information",
  "rows": 0,
  "schema": {
    "columns": [ {
      "type": "STRING",
      "name": "Name"
    }, {
      "type": "STRING",
      "name": "Abbr"
    } ]
  }
}

 

 

 

 

Thanks,

Adavesh

Tagged:

Best Answer

  • jaeW_at_Onyx
    jaeW_at_Onyx Coach
    Answer ✓

    you won't see the schema in the Domo UI until you load data.

    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"

Answers

  • jaeW_at_Onyx
    jaeW_at_Onyx Coach
    Answer ✓

    you won't see the schema in the Domo UI until you load data.

    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"
  • Super.. you are right. 

This discussion has been closed.