-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minlopro: Lightning Knowledge Setup + Dropped Storage Helper
- Loading branch information
1 parent
80f9b4d
commit ceb055c
Showing
61 changed files
with
1,894 additions
and
657 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# 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 seed/export/import sample data: | ||
|
||
- [`import_sample_data.sh`](../../scripts/util/import_sample_data.sh) | ||
- [`export_sample_data.sh`](../../scripts/util/export_sample_data.sh) | ||
- [`import_sample_data.sh`](../../scripts/util/data-seeding/import_sample_data.sh) | ||
- [`export_sample_data.sh`](../../scripts/util/data-seeding/export_sample_data.sh) | ||
- [`migrate_knowledge_articles.sh`](../../scripts/util/data-seeding/migrate_knowledge_articles.sh) | ||
|
||
See [Salesforce Docs](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_test_data_example.htm) | ||
for more. |
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
14 changes: 14 additions & 0 deletions
14
config/data/samples/plan-Knowledge__kav-Knowledge__DataCategorySelection.json
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"sobject": "Knowledge__kav", | ||
"saveRefs": true, | ||
"resolveRefs": false, | ||
"files": ["sample-Knowledge__kav.json"] | ||
}, | ||
{ | ||
"sobject": "Knowledge__DataCategorySelection", | ||
"saveRefs": false, | ||
"resolveRefs": true, | ||
"files": ["sample-Knowledge__DataCategorySelection.json"] | ||
} | ||
] |
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 |
---|---|---|
|
@@ -1051,4 +1051,4 @@ | |
"Website": "https://our-page.com" | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -1201,4 +1201,4 @@ | |
"AccountId": "@AccountRef50" | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -34,4 +34,4 @@ | |
"IsCorporate": true | ||
} | ||
] | ||
} | ||
} |
148 changes: 148 additions & 0 deletions
148
config/data/samples/sample-Knowledge__DataCategorySelection.json
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 |
---|---|---|
@@ -0,0 +1,148 @@ | ||
{ | ||
"records": [ | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef1" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef1" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef2" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef2" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef3" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Administration", | ||
"ParentId": "@Knowledge__kavRef3" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef4" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Configuration", | ||
"ParentId": "@Knowledge__kavRef3" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef5" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef4" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef6" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Administration", | ||
"ParentId": "@Knowledge__kavRef4" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef7" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Configuration", | ||
"ParentId": "@Knowledge__kavRef4" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef8" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef5" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef9" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef6" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef10" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Administration", | ||
"ParentId": "@Knowledge__kavRef6" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef11" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "CI_CD", | ||
"ParentId": "@Knowledge__kavRef6" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef12" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef7" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef13" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "CI_CD", | ||
"ParentId": "@Knowledge__kavRef7" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef14" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Development", | ||
"ParentId": "@Knowledge__kavRef8" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef15" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "Administration", | ||
"ParentId": "@Knowledge__kavRef8" | ||
}, | ||
{ | ||
"attributes": { | ||
"type": "Knowledge__DataCategorySelection", | ||
"referenceId": "Knowledge__DataCategorySelectionRef16" | ||
}, | ||
"DataCategoryGroupName": "SalesforceFAQs", | ||
"DataCategoryName": "CI_CD", | ||
"ParentId": "@Knowledge__kavRef8" | ||
} | ||
] | ||
} |
Oops, something went wrong.