executeTML
Table of Contents

executeTML🔗

executeTML(data: executeTMLInput ) : Promise< any >

Imports TML representation of the metadata objects into ThoughtSpot.

Function Parameters

data

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/release/src/embed/base.ts#L278[embed/base.ts, window=_blank]#