Add Tableau Next Components from Multiple Salesforce Orgs
Embedding Tableau Next components in your own web app gives you the flexibility to add components from multiple Salesforce orgs on one page.
To use multiple orgs in your implementation, initialize the SDK with the orgConfigs object instead of single orgUrl and authCredential parameters.
Then, when you embed your components, you must specify the orgUrl in the component constructor. The orgUrl is required when creating components in a multi org scenario, to ensure that your component connects to the correct org.
You can add new orgs or try failed orgs again after the initial SDK initialization by using the retryOrAddOrgs function.
The retryOrAddOrgs function returns the same BootstrapResponse format as the initializeAnalyticsSdk function.
The initializeAnalyticsSdk function returns a BootstrapResponse object, which contains an orgStates object with the overall status and the individual org statuses.
Status.SUCCESS- All orgs initialized successfullyStatus.PARTIAL_SUCCESS- Some orgs initialized successfully (multi-org only)Status.FAILURE- Initialization failed
See Also