AddToExistingWorkspace

Use this node to add a list of assets to an existing Tableau Next workspace.

Asset Type Name for Rules 

Not supported

Example Definition in chain.json 

1{
2  "name": "add_assets",
3  "label": "Adds assets to a workspace",
4  "dominoVariant": "sfdc_internal__UnifiedAnalyticsDominoVariant",
5  "parameters": {},
6  "definition": {
7    "nodes": {
8      "add_assets": {
9        "graphNodeType": {
10          "name": "AddToExistingWorkspace"
11        },
12        "parameters": {
13          "apiName": "${Variables.myWorkspace}",
14          "assets": [
15            {
16              "name": "Test_SDM",
17              "assetType": "SemanticModel",
18              "usageType": "Referenced"
19            }
20          ]
21        },
22        "sources": [],
23        "runAs": "CurrentUser"
24      }
25    }
26  }
27}

Parameters 

ParameterDefinition
apiName(Required) The developer name for the workspace to add assets to.
assets(Optional) An array describing which assets are contained in or referenced by the workspace.
assets.name(Required) The developer name of the asset.
assets.assetType(Required) The asset type.
assets.usageType(Required) The asset usage type. Valid usage type values are Created and Referenced.
condition(Optional) An EL expression, evaluated at runtime, that determines whether to upload this CSV or not.

Set runAs to CurrentUser so that the assets are added to the workspace with the permissions of the user installing the app. If you omit runAs, the node runs as AutoProc, a system user.

Note

App Context Values 

Nothing added to App Context.

On Failure 

If this task fails, it returns a FAIL_TERMINAL status. The chain stops and no downstream nodes run.

See Also