Philippe Hébert
04/19/2022, 3:49 PMcp__{dataset}_id
has a corresponding value for the label), what is the optimal way to name the fields such that the label is displayed as "{dataset} {label name}"?
In the docs, they say that given an attribute {attribute}
, a label should be named l__{dataset}__{attribute}__{label name}
. Does this apply to PK (cp__*
fields) as well?Michal Hauzírek
04/19/2022, 4:42 PMl__{attribute}__{label name}
without the dataset
part.
You can actually from any existing and published model generate the SQL table or view definitions. To do so, go to the Model and in the view mode (not edit mode!) click the three dots in the top right corner, then select “*create output stage*”.
In the next step, confirm your data source and whether you want views or tables. It will generate a SQL for you which you can then manually copy, modify and execute in your database. It will generate the exact column names that are required for each dataset.
It will NOT execute this SQL automatically against your database so no worries that generating this will break something.Philippe Hébert
04/19/2022, 6:03 PMPhilippe Hébert
04/19/2022, 6:03 PMPhilippe Hébert
04/19/2022, 10:31 PM