-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from kevinfcrmsf/vf-enable-incremental
added the support for incremental upload
- Loading branch information
Showing
11 changed files
with
173 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Download and install Java JDK (not JRE) from Zulu Open JDK | |
|
||
* [Zulu Open JDK](https://www.azul.com/downloads/zulu-community/?&architecture=x86-64-bit&package=jdk) | ||
|
||
After installation is complete. Different versions of DatasetUtils require different versions of JDK, the latest release API 48 requires JDK 11. Open a console and check that the java version is correct for your DatasetUtils version by running the following command: | ||
After installation is complete. Different versions of DatasetUtils require different versions of JDK, the latest release API 48.1.1 requires JDK 11. Open a console and check that the java version is correct for your DatasetUtils version by running the following command: | ||
|
||
|
||
``java -version`` | ||
|
@@ -100,33 +100,35 @@ Input Parameter | |
|
||
--uploadFormat : (Optional) the whether to upload as binary or csv. default binary"); | ||
|
||
--mode : (Optional) incremental upload. It can be "Incremental" or "None"(default value) | ||
|
||
**OR** | ||
|
||
--server : set this to true if you want to run this in server mode and use the UI. **If you give this param all other params will be ignored** | ||
|
||
## Usage Example 1: Start the server for using the UI | ||
java -jar datasetutils-48.1.0jar --server true | ||
java -jar datasetutils-48.1.1jar --server true | ||
|
||
## Usage Example 2: Upload a local csv to a dataset in production | ||
java -jar datasetutils-48.1.0.jar --action load --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest | ||
java -jar datasetutils-48.1.1.jar --action load --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest | ||
|
||
## Usage Example 3: Append a local csv to a dataset | ||
java -jar datasetutils-48.1.0.jar --action load --operation append --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest | ||
java -jar datasetutils-48.1.1.jar --action load --operation append --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest | ||
|
||
## Usage Example 4: Upload a local csv to a dataset in sandbox | ||
java -jar datasetutils-48.1.0.jar --action load --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest --endpoint https://test.salesforce.com/services/Soap/u/48.0 | ||
java -jar datasetutils-48.1.1.jar --action load --u [email protected] --p @#@#@# --inputFile Opportunity.csv --dataset puntest --endpoint https://test.salesforce.com/services/Soap/u/56.0 | ||
|
||
## Usage Example 5: Download dataset main xmd json file | ||
java -jar datasetutils-48.1.0.jar --action downloadxmd --u [email protected] --p @#@#@# --dataset puntest | ||
java -jar datasetutils-48.1.1.jar --action downloadxmd --u [email protected] --p @#@#@# --dataset puntest | ||
|
||
## Usage Example 6: Upload user.xmd.json | ||
java -jar datasetutils-48.1.0.jar --action uploadxmd --u [email protected] --p @#@#@# --inputFile user.xmd.json --dataset puntest | ||
java -jar datasetutils-48.1.1.jar --action uploadxmd --u [email protected] --p @#@#@# --inputFile user.xmd.json --dataset puntest | ||
|
||
## Usage Example 7: Detect inputFile encoding | ||
java -jar datasetutils-48.1.0.jar --action detectEncoding --inputFile Opportunity.csv | ||
java -jar datasetutils-48.1.1.jar --action detectEncoding --inputFile Opportunity.csv | ||
|
||
## Usage Example 8: download error logs file for csv uploads | ||
java -jar datasetutils-48.1.0.jar --action downloadErrorFile --u [email protected] --p @#@#@# --dataset puntest | ||
java -jar datasetutils-48.1.1.jar --action downloadErrorFile --u [email protected] --p @#@#@# --dataset puntest | ||
|
||
## Building DatasetUtils | ||
git clone https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.