Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create Datasets Programmatically from CSV Files Using the External Data API

          Create Datasets Programmatically from CSV Files Using the External Data API

          You can use the External Data API to create a single dataset based on external data in a .csv file. You can also use the API to edit the dataset by uploading a new .csv file. When you edit the dataset, you can choose to overwrite all records, append records, update records, or delete records.

          When you upload a .csv file with the External Data API, you have to explicitly set the metadata attributes for each column in the .csv file. For example, you can set the field type and default value for each column. You set the metadata attributes for a .csv file in its own metadata file. A metadata file is a JSON file that describes the structure of an external data file. If no metadata file is provided when you upload external data using the API, CRM Analytics treats every column as a dimension and sets the field type to 'Text.' The field type determines the types of queries that can be placed on the column. For example, you can’t perform mathematical calculations on dataset columns with a Text field type. You can perform mathematical calculations only on dataset columns with a Numeric field type.

          For more information about the External Data API, see the Analytics External Data API Developer Guide .

           
          Loading
          Salesforce Help | Article