Can I dynamically query all fields?

Options

In the javascript for my DOMO card, this is how I am currently querying from my dataset:

If I am simply trying to query all the fields in my dataset, is there a way I can avoid hard coding all the fields in the "dataColumnName1" variable, and just change the "query1" variable to dynamically query all fields? Thanks.

Tagged:

Best Answer

  • GrantSmith
    GrantSmith Coach
    Answer ✓
    Options

    You should be able to ignore the fields parameter in your query and it should return all of the fields that are in your dataset.

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

Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓
    Options

    You should be able to ignore the fields parameter in your query and it should return all of the fields that are in your dataset.

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