Get the details of Liveboard formuals #215
-
Hi Team. Can you please guide on how we can get the liveboard formulas created by user using CSTOOL. i heard it came part of v1.6. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @Subhransuusa ,
cstools tools searchable tml --config --metadata-type LIVEBOARD --syncer csv://directory="<your_directory_path>"
|
Beta Was this translation helpful? Give feedback.
You can create a sql view over the TML table. I have included a simple sample for the sql view:
WITH base AS (
SELECT
CLUSTER_GUID,
ORG_ID,
OBJECT_GUID,
TRY_PARSE_JSON(TML_BLOB) as parsed_json
FROM CSTOOLS.TS_METADATA_TML
) SELECT
base.CLUSTER_GUID,
base.ORG_ID,
base.OBJECT_GUID,
-- TO PARSE ON NEXT LVL
v.value:answer:formulas as FORMULAE,
FROM
base,
LATERAL FLATTEN(input => parsed_json:liveboard:visualizations) v