executeTML(data: executeTMLInput ) : Promise< any >
Imports TML representation of the metadata objects into ThoughtSpot.
Function Parameters
- data
-
-
data: executeTMLInput
-
Returns
Promise< any >
Version : SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
executeTML({
//Array of metadata Tmls in string format
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);
});
Defined in : embed/base.ts