DatasetCreator is a lightweight RESTFul client implementation of the Salesforce CRM Analytics External Data API.

Overview

DatasetCreator

DatasetCreator is lightweight RESTFul client implementation of the CRM Analytics External Data API. This tool is free to use, but it is not officially supported by Salesforce. It has been deliberately developed with no 3rd party jars with the goal of being a lean, reliable and scalable solution. This is a community project that have not been officially tested or documented. Please do not contact Salesforce for support when using this application.

Log4j2 Issues (CVE-2021-44228 and CVE-2021-45046)

DatasetCreator uses no third party jars and is therefore free from Log4j issues

Downloading DatasetCreator

Download the latest version from releases and follow the examples below:

Running DatasetCreator

Prerequisite

Download and install Java JDK (not JRE) from Zulu Open JDK

After installation is complete. Different versions of DatasetUtils require different versions of JDK, the latest release API 54 requires JDK 11. Open a console and check that the java version is correct for your DatasetCreator version by running the following command:

java -version

Windows:

Download exectuable jar.

Mac:

Download executable jar.

Command Line

Open a terminal and type in the following command and follow the prompts on the console:

  java -jar dataset-creator-0.54.jar --inputFile  .csv|.zip --schemaFile  .json  --operation Overwrite|Append|Upsert  --u   --p  --dataset  --label  --app    --endpoint  --cSecret  --cKey 

--u : Salesforce.com login

--p : Salesforce.com password,if omitted you will be prompted

--endpoint: The Salesforce soap api endpoint (test/prod) Default: https://login.salesforce.com

--dataset : the dataset alias. required

--label : (Optional) the dataset label.

--app : (Optional) the app/folder name for the dataset.

--operation : the operation for load (Overwrite/Upsert/Append/Delete).

--inputFile : the input csv or gzip file.

--schemaFile : the dataset meta json file.

--cKey : the client key.

--cSecret : the client secret.

Usage Example 1: Upload a local csv to a dataset in production

java -jar dataset-creator-0.54.jar --inputFile  Complaints.csv --schemaFile  Complaints_schema.json  --operation Overwrite  --u [email protected]  --p AppassWd --dataset Complaints --label Complaints --app SharedApp   --endpoint https://login.salesforce.com --cSecret 844383111F0F755E420B23E1EA0B4AEDB --cKey 3MVG9F0F755E420B23E1EA9BC10B4AEDBmV9T7ZMnfw4C

Usage Example 2: Append a local csv to a dataset

    java -jar dataset-creator-0.54.jar --inputFile  Complaints.csv --schemaFile  Complaints_schema.json  --operation Append  --u [email protected]  --p AppassWd --dataset Complaints --label Complaints --app SharedApp   --endpoint https://login.salesforce.com --cSecret 844383111F0F755E420B23E1EA0B4AEDB --cKey 3MVG9F0F755E420B23E1EA9BC10B4AEDBmV9T7ZMnfw4C

Usage Example 3: Upload a local csv to a dataset in sandbox

java -jar dataset-creator-0.54.jar --inputFile  Complaints.csv --schemaFile  Complaints_schema.json  --operation Overwrite  --u [email protected]  --p AppassWd --dataset Complaints --label Complaints --app SharedApp   --endpoint https://test.salesforce.com --cSecret 844383111F0F755E420B23E1EA0B4AEDB --cKey 3MVG9F0F755E420B23E1EA9BC10B4AEDBmV9T7ZMnfw4C
You might also like...

Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL.

Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL.

HRMS-Project Human Resources Management System Back End application with Java, Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL. S

Aug 23, 2022

e-Learning restful application with Spring boot

eLearning project backend This project was done as part of our Enterprise Application (EA) course project in Maharishi International University A Micr

Mar 28, 2022

A secured RESTful service for company payrolls.

Account Service A RESTful service for a company to upload employee payrolls. Scope Project was created as part of a learning track of an online academ

Feb 14, 2022

A code sharing platform built using spring boot, hibernate and JPA as ORM with PostgreSQL which also follows a RESTful architecture.

Snap-Snippet A code sharing platform built using spring boot, hibernate and JPA as ORM with PostgreSQL which also follows a RESTful architecture. Tech

Nov 29, 2022

There are two challenges one is to create a backend api the other is to create a frontend application to consume the public data api devall.

There are two challenges one is to create a backend api the other is to create a frontend application to consume the public data api devall.

Sobre | Desafio | Resolução | Tecnologias | Execução | Itexto desafio tecnico Sobre os Desafios existem dois desafios um é criar uma api backend o out

Oct 18, 2021

Spring Boot OAuth 2.0 Client Implementation + MySQL Integration

Spring Boot OAuth 2.0 Client Implementation + MySQL Integration

Spring Boot OAuth 2.0 Client + MySQL 1. What is OAuth 2.0 ? The OAuth 2.0 authorization framework enables a third-party application to obtain limited

May 12, 2022

A simple and lightweight Minecraft GUI API for developers to use.

Current Version: 1.0.0 Requirements: - You must be using PaperMC or a fork of it (This will not work with just Spigot/Bukkit! - Curently this API only

May 14, 2022

Realtime Data Processing and Search Engine Implementation.

Realtime Data Processing and Search Engine Implementation.

Mutad The name Mutad is a reverse spelling of datum. Overview An implementation of a real-time data platform/search engine based on various technology

Aug 4, 2022

A near-real-time Mesh Join Algorithm Implementation provided with a Complete Data warehouse for METRO

A near-real-time Mesh Join Algorithm Implementation provided with a Complete Data warehouse for METRO

Mesh Join Algorithm and Data Warehouse A complete Mesh-Join Algorithm Implementation as provided in the paper R-MESHJOIN . This is demonstrated by the

Aug 11, 2022
Releases(dataset-creator-0.54.1)
Owner
Salesforce Platform
APIs, tools, and frameworks for developers using the Salesforce Platform
Salesforce Platform
A lightweight and extensible library to resolve application properties from various external sources.

Externalized Properties A lightweight and extensible library to resolve application properties from various external sources. Twelve Factor Methodolog

Joel Jeremy Marquez 20 Nov 29, 2022
A lightweight and extensible library to resolve application properties from various external sources.

Externalized Properties A lightweight and extensible library to resolve application properties from various external sources. Twelve Factor Methodolog

Joel Jeremy Marquez 20 Nov 29, 2022
能将对API的调用转化为对手机的操作,软件自身提供 restful API,运行于安卓,一切操作与获取信息均由软件完成。

文档地址:https://www.lookcos.cn/docs/hermit Hermit简介 Hermit,是一款用于Android自动化测试的软件,运行于安卓,通过接收restful API请求,进而转化为对设备的操作。 支持快速的点击、滑动、读取与设置剪切板(支持中文)、模拟输入、寻找控件并

Lookcos 278 Dec 13, 2022
Movie,actor & director RESTful API. Sample app with jpa, flyway and testcontainers

spring-restful-jpa-flyway Movie,actor & director RESTful API. Sample app with jpa, flyway and testcontainers.

null 16 Dec 10, 2022
This is the RestFul API using SpringBoot made to integrate the frontend of this repository.

This is the RestFul API using SpringBoot made to integrate the frontend of this repository. Requirements For building and running the application you

gabrielclisboa 1 Jan 21, 2022
An example on how to build a configurable widget to trigger external searches along with Liferay search to Elasticsearch.

Liferay External Searches An example on how to build a configurable widget to trigger external searches along with Liferay search to Elasticsearch. Ge

Louis-Guillaume Durand 4 Oct 25, 2021
Docker-compose-integration-tstst - An exploration of how to run integration tests against an application that has inconvenient external dependencies (e.g. a SQL database).

Tstst? it was supposed to be docker-compose-integration-tests but i was too lazy to fix it at the outset, and now im trying to convince myself its fun

null 1 Jan 4, 2022
Java library to launch external processes

ch.vorburger.exec If you like/use this project, a Star / Watch / Follow me on GitHub is appreciated! This project is a small library allowing to launc

Michael Vorburger ⛑️ 25 Sep 7, 2022
This project demonstrates reference implementation of Auth API Client

Client Application to test Auth API for OTP verification. Introduction Aadhaar “authentication” means the process wherein Aadhaar Number or Virtual ID

UIDAI 3 Oct 27, 2021
EssentialClient is a client side mod originally forked from Carpet Client for 1.15.2 that implements new client side features

EssentialClient EssentialClient is a client side only mod originally forked from Carpet Client for 1.15.2 that implements new client side features. Th

null 62 Jan 3, 2023