Skip to content

Commit

Permalink
Minlopro: Lightning Knowledge Setup (P2)
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomeandrey committed Dec 13, 2024
1 parent a8e35fc commit 4f5d322
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/data/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Sample Data
# Seeding Org With Sample Data

Sample data (for `Accounts`, `Contacts`, `Opportunities` and other objects) was generated via [Mockaroo Tool](https://mockaroo.com/).

Refer to bash scripts below in order to export/import sample data:
Use scripts below in order to export/import sample data:

- [`import_sample_data.sh`](../../scripts/util/import_sample_data.sh)
- [`export_sample_data.sh`](../../scripts/util/export_sample_data.sh)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions config/data/sfdmu/knowledge-articles-export-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 3 additions & 3 deletions scripts/util/import_sample_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ echo
# Import Accounts, Contacts & Opportunities (by plan);
sf data import tree \
--target-org "$TARGET_ORG_ALIAS" \
--plan "config/data/plan-Account-Contact-Opportunity.json"
--plan "config/data/samples/plan-Account-Contact-Opportunity.json"

# Import Currency Types (by file);
sf data import tree \
--target-org "$TARGET_ORG_ALIAS" \
--files "config/data/sample-CurrencyTypes.json"
--files "config/data/samples/sample-CurrencyTypes.json"

# Import Leads (by file);
sf data import tree \
--target-org "$TARGET_ORG_ALIAS" \
--files "config/data/sample-Leads.json"
--files "config/data/samples/sample-Leads.json"

0 comments on commit 4f5d322

Please sign in to comment.