Workflow for Tableau Next Scratch Orgs

Get started with Tableau Next development using your Dev Hub to create scratch orgs with Data 360 and Tableau Next enabled. Use your scratch org to create and publish Tableau Next assets, such as dashboard extensions.

Supported editions 

Tableau Next requires Dev Hub to be enabled in Developer, Enterprise, Performance, or Unlimited Editions. Scratch orgs are supported in Developer, Enterprise, Group, and Professional Editions.

Before you begin 

Complete these prerequisites before creating or working on a Tableau Next templated app or assets.

Create a Salesforce DX project 

  • Create a project. See Create a Salesforce DX Project.

  • Configure the sfdx-project.json file.

    • Specify your package’s namespace with the namespace attribute. For example: "namespace":"exp-mgr".
    • Specify the login URL for production, which is https://login.salesforce.com.

Create a scratch org 

To work with Data 360 and Tableau Next features in a scratch org, you must first set up a scratch definition file and use the Salesforce CLI to create the scratch org.

  • To create a scratch org, from the CLI, use:

    1sf org create scratch -a SCRATCH_ORG_NAME -f config/project-scratch-def.json -w 10 -v DEVHUB_ALIAS`

    The next example shows a sample scratch definition file. See Create Scratch Orgs. This scratch org is the publisher or source org where you create the Data 360 and Tableau Next elements and add them to a data kit.

    The following is a sample project-scratch-def.json file with Data 360 and Tableau Next licenses.

    1{
    2  "orgName": "Salesforce",
    3  "edition": "Developer",
    4  "features": ["EnableSetPasswordInApi", "CustomerDataPlatform", "CustomerDataPlatformLite", "TableauEinstein"],
    5  "settings": {
    6    "lightningExperienceSettings": {
    7      "enableS1DesktopEnabled": true
    8    },
    9    "customerDataPlatformSettings": {
    10      "enableCustomerDataPlatform": true
    11    }
    12  }
    13}
  • To open the scratch org, run the sf org open command. Navigate to Data Cloud Setup to verify that Data 360 is enabled. If you see green checkmarks, then Data 360 is provisioned.

Enable Tableau Next 

  • From Salesforce Setup, in the Quick Find box, enter Tableau Next, and then select Tableau Next Setup.
  • Enable Tableau Next.

To work with data kits, see Workflow for Creating Data 360 Data Kits with Tableau Next Assets.

To package your Tableau Next app, see Package Your Tableau Next App.

See Also