executeTML(data: executeTMLInput ) : Promise< any >
Imports TML representation of the metadata objects into ThoughtSpot.
Function Parameters
- data
-
-
data: executeTMLInput
-
Returns
Promise< any >
executeTML({
//Array of metadata Tmls
metadata_tmls: [
"'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
\"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
],
import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
create_new: false, // If selected, creates TML objects with new GUIDs.
}).then(result => {
console.log(result);
}).catch(error => {
console.error(error);
});
@version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
@group Global methods
[definedInTag]#Defined in : link:https://github.com/thoughtspot/visual-embed-sdk/blob/main/src/embed/base.ts#L282[embed/base.ts, window=_blank]#