diff --git a/cumulusci.yml b/cumulusci.yml index dcf74b1..5bfac6f 100644 --- a/cumulusci.yml +++ b/cumulusci.yml @@ -626,6 +626,13 @@ plans: slug: install title: Install K-12 Architecture Kit tier: primary + checks: + - when: "not tasks.check_my_domain_active()" + action: error + message: "Please enable My Domain in your org prior to installing." + - when: "not tasks.check_chatter_enabled()" + action: error + message: "Please enable Chatter in your org prior to installing." steps: 1: flow: customer_org diff --git a/metadeploy/labels_en.json b/metadeploy/labels_en.json index 0bcfd2d..cdaf493 100644 --- a/metadeploy/labels_en.json +++ b/metadeploy/labels_en.json @@ -96,5 +96,29 @@ "message": "Deploy K-12 Architecture Kit App Tile", "description": "title of installation step" } + }, + "checks": { + "Please enable My Domain in your org prior to installing.": { + "message": "Please enable My Domain in your org prior to installing.", + "description": "shown if validation fails" + }, + "Please enable Chatter in your org prior to installing.": { + "message": "Please enable Chatter in your org prior to installing.", + "description": "shown if validation fails" + } + }, + "plan:upgrade": { + "title": { + "message": "Product Upgrade", + "description": "title of installation plan" + }, + "preflight_message": { + "message": "This installer upgrades this package and any required dependencies to the latest version in your org. This installer isn't supported and has risks. Please don't run this installer unless you're aware of its specific use cases and considerations.", + "description": "shown before user starts installation (markdown)" + }, + "post_install_message": { + "message": "Installation complete and package is on the latest version.", + "description": "shown after successful installation (markdown)" + } } -} +} \ No newline at end of file