Tableau Connector for API

Build 24.0.9060

api:include

The api:include keyword is used to include API Script from other files. Like traditional includes in other programming languages, api:include is replaced by the contents of the file specified in the file parameter.

Parameters

  • file | document: The name of the file to be included.

Control Attributes

None

Examples

Import certain attributes (companyname, copyright) in each script without duplication:

<api:include file="globals.rsb"/> 
[companyname] 
[copyright] 
<api:call ...>

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060