From 1bb7e67279be63c61c651c90cab73b132337b14d Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 29 Apr 2021 12:44:01 -0600 Subject: [PATCH 1/2] Update strings and fix YAML issues --- cumulusci.yml | 5 ++--- metadeploy/labels_en.json | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/cumulusci.yml b/cumulusci.yml index 8379a75..565ec41 100644 --- a/cumulusci.yml +++ b/cumulusci.yml @@ -517,12 +517,11 @@ flows: task: deploy_kav_config 4: task: deploy_profile_config - namespaced_org: True 5: task: set_organization_wide_defaults custom_dependencies: - descriptions: Additional custom dependency tasks + description: Additional custom dependency tasks steps: 1: task: set_sharing_dependencies @@ -564,7 +563,7 @@ flows: really_change_files: True add_nmg_permissions: - descriptions: Extracts newtwork and permissions then generates a new files to load permissions for network memeber group + description: Extracts newtwork and permissions then generates a new files to load permissions for network memeber group steps: 1: task: extract_dataset diff --git a/metadeploy/labels_en.json b/metadeploy/labels_en.json index 0b4e1a0..c85425a 100644 --- a/metadeploy/labels_en.json +++ b/metadeploy/labels_en.json @@ -3,6 +3,18 @@ "title": { "message": "Traction Thrive", "description": "name of product" + }, + "short_description": { + "message": "Critical Care Resource Management System for Salesforce", + "description": "tagline of product" + }, + "description": { + "message": "As the COVID-19 pandemic continues to expand at an accelerated rate, the medical system is under significant strain, both from a staffing and resource perspective. Facilities have limited beds, equipment, and staff on hand to triage patients and there is no way to effectively communicate, inventory and ease the burden in overtaxed areas.\r\n\r\nThe Traction Thrive Critical Care Resource Management application enables hospitals and healthcare practitioners to more accurately track and distribute critical medical staff and resources to meet the immediate needs of COVID-19 response teams.\r\n\r\nLearn more at [https://tractionondemand.com/traction-thrive/](https://tractionondemand.com/traction-thrive/)\r\n\r\nInstallation Guide available on Salesforce AppExchange: [https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMvlIUAT](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMvlIUAT)\r\n\r\nOpen source public GitHub repository: [https://github.com/SFDO-Community/TractionThrive](https://github.com/SFDO-Community/TractionThrive)\r\n\r\n![](https://raw.githubusercontent.com/SFDO-Community/TractionThrive/master/assets/traction_thrive_logo-medium.png)", + "description": "shown on product detail page (markdown)" + }, + "click_through_agreement": { + "message": "The Traction Thrive Critical Care Resource Management application (\u201cTraction Thrive\u201d) is an open-source package licensed by Traction Sales and Marketing Inc. dba Traction on Demand (\u201cToD\u201c) under the BSD-3 Clause License, found at https://opensource.org/licenses/BSD-3-Clause.\r\n\r\nANY MASTER SUBSCRIPTION AGREEMENT YOU OR YOUR ENTITY MAY HAVE WITH SALESFORCE.ORG LLC (\u201cSFDO\u201d) OR SALESFORCE.COM, INC. (\u201cSALESFORCE\u201d), OR ITS AFFILIATES, DOES NOT APPLY TO YOUR USE OF TRACTION THRIVE. FOR PURPOSES OF THIS AGREEMENT, AN \u201cAFFILIATE\u201d MEANS ANY ENTITY THAT DIRECTLY OR INDIRECTLY CONTROLS, IS CONTROLLED BY, OR IS UNDER COMMON CONTROL WITH THE SUBJECT ENTITY. \u201cCONTROL,\u201d FOR PURPOSES OF THIS DEFINITION, MEANS DIRECT OR INDIRECT OWNERSHIP OR CONTROL OF MORE THAN 50% OF THE VOTING INTERESTS OF THE SUBJECT ENTITY. \r\n\r\nTRACTION THRIVE IS A NON-SFDC APPLICATION OR THIRD-PARTY APPLICATION, AND NOT SERVICES, UNDER ANY MASTER SUBSCRIPTION AGREEMENT YOU HAVE WITH SFDO OR SALESFORCE, OR ITS AFFILIATES. TRACTION THRIVE IS PROVIDED \u201cAS IS\u201d AND AS AVAILABLE. NEITHER SFDO NOR SALESFORCE, OR ITS AFFILIATES, MAKES ANY WARRANTY OF ANY KIND REGARDING TRACTION THRIVE, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, FREEDOM FROM DEFECTS OR NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW. \r\n\r\nNEITHER SFDO NOR SALESFORCE, OR ITS AFFILIATES, WILL HAVE ANY LIABILITY ARISING OUT OF OR RELATED TO YOUR USE OF TRACTION THRIVE FOR ANY DIRECT DAMAGES OR FOR ANY LOST PROFITS, REVENUES, GOODWILL OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, COVER, BUSINESS INTERRUPTION OR PUNITIVE DAMAGES, WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF A REMEDY OTHERWISE FAILS OF ITS ESSENTIAL PURPOSE. THE FOREGOING DISCLAIMER WILL NOT APPLY TO THE EXTENT PROHIBITED BY LAW. SFDO AND SALESFORCE, AND ITS AFFILIATES, DISCLAIM ALL LIABILITY AND INDEMNIFICATION OBLIGATIONS FOR ANY HARM OR DAMAGES CAUSED BY ANY THIRD-PARTY HOSTING PROVIDERS.\r\n\r\nYOU ARE PROHIBITED FROM SUBMITTING PROTECTED HEALTH INFORMATION INTO TRACTION THRIVE.", + "description": "legal text shown in modal dialog" } }, "plan:install": { @@ -19,6 +31,18 @@ "Please ensure you have Einstein Analytics Plus and Einstein Analytics for Community Logins licenses available prior to installing.": { "message": "Please ensure you have Einstein Analytics Plus and Einstein Analytics for Community Logins licenses available prior to installing.", "description": "shown if validation fails" + }, + "Please set the Internal and External Organization-Wide Defaults to Private for the Case object prior to installing.": { + "message": "Please set the Internal and External Organization-Wide Defaults to Private for the Case object prior to installing.", + "description": "shown if validation fails" + }, + "Please set the Internal and External Organization-Wide Defaults to Private for the Opportunity object prior to installing.": { + "message": "Please set the Internal and External Organization-Wide Defaults to Private for the Opportunity object prior to installing.", + "description": "shown if validation fails" + }, + "Please set the External Organization-Wide Defaults to Read or Private for the Account object prior to installing.": { + "message": "Please set the External Organization-Wide Defaults to Read or Private for the Account object prior to installing.", + "description": "shown if validation fails" } }, "steps": { @@ -57,6 +81,22 @@ "Configure Knowledge": { "message": "Configure Knowledge", "description": "title of installation step" + }, + "Add Data Category Groups and Relabel Accounts": { + "message": "Add Data Category Groups and Relabel Accounts", + "description": "title of installation step" + }, + "Load custom settings defaults": { + "message": "Load custom settings defaults", + "description": "title of installation step" + }, + "Install Analytics": { + "message": "Install Analytics", + "description": "title of installation step" + }, + "Install Profiles": { + "message": "Install Profiles", + "description": "title of installation step" } } } \ No newline at end of file From 266782d948072a4c37e6fa4fa8009c075214c2de Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 29 Apr 2021 12:44:55 -0600 Subject: [PATCH 2/2] Adopt customer_org pattern --- cumulusci.yml | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/cumulusci.yml b/cumulusci.yml index 565ec41..6a400a1 100644 --- a/cumulusci.yml +++ b/cumulusci.yml @@ -580,28 +580,7 @@ flows: 4: task: reset_nmg_sql -plans: - install: - slug: install - title: Install Traction Thrive - tier: primary - is_listed: True - checks: - #- when: "'PID_Customer_Community_Plus' not in tasks.get_available_licenses()" - # action: error - # message: "Please ensure you have Customer Community Plus licenses available prior to installing." - - when: "'EinsteinAnalyticsPlusPsl' not in tasks.get_available_psls() or 'EinsteinAnalyticsForCommunityLoginsPsl' not in tasks.get_available_psls()" - action: warn - message: "Please ensure you have Einstein Analytics Plus and Einstein Analytics for Community Logins licenses available prior to installing." - - when: "not tasks.check_case_owd()" - action: error - message: "Please set the Internal and External Organization-Wide Defaults to Private for the Case object prior to installing." - - when: "not tasks.check_opportunity_owd()" - action: error - message: "Please set the Internal and External Organization-Wide Defaults to Private for the Opportunity object prior to installing." - - when: "tasks.check_account_owd()" - action: error - message: "Please set the External Organization-Wide Defaults to Read or Private for the Account object prior to installing." + customer_org: steps: 1: task: add_standard_value_set_entries @@ -661,4 +640,30 @@ plans: name: "Install Profiles" is_required: False options: - unmanaged: False \ No newline at end of file + unmanaged: False + +plans: + install: + slug: install + title: Install Traction Thrive + tier: primary + is_listed: True + checks: + #- when: "'PID_Customer_Community_Plus' not in tasks.get_available_licenses()" + # action: error + # message: "Please ensure you have Customer Community Plus licenses available prior to installing." + - when: "'EinsteinAnalyticsPlusPsl' not in tasks.get_available_psls() or 'EinsteinAnalyticsForCommunityLoginsPsl' not in tasks.get_available_psls()" + action: warn + message: "Please ensure you have Einstein Analytics Plus and Einstein Analytics for Community Logins licenses available prior to installing." + - when: "not tasks.check_case_owd()" + action: error + message: "Please set the Internal and External Organization-Wide Defaults to Private for the Case object prior to installing." + - when: "not tasks.check_opportunity_owd()" + action: error + message: "Please set the Internal and External Organization-Wide Defaults to Private for the Opportunity object prior to installing." + - when: "tasks.check_account_owd()" + action: error + message: "Please set the External Organization-Wide Defaults to Read or Private for the Account object prior to installing." + steps: + 1: + flow: customer_org \ No newline at end of file