diff --git a/force-app/main/default/animationRules/Adoption_Path.animationRule-meta.xml b/force-app/main/default/animationRules/Adoption_Path.animationRule-meta.xml new file mode 100644 index 00000000..794ae053 --- /dev/null +++ b/force-app/main/default/animationRules/Adoption_Path.animationRule-meta.xml @@ -0,0 +1,12 @@ + + + rarely + Adoption_Path + true + Adoption Path + Master + __MASTER__ + Adoption__c + Adoption_Stage__c + Adopted + diff --git a/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml index cc8985ca..1a5c528a 100644 --- a/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Adoption_Record_Page.flexipage-meta.xml @@ -23,6 +23,20 @@ force_highlightsPanel + + + + hideUpdateButton + false + + + variant + linear + + runtime_sales_pathassistant:pathAssistant + runtime_sales_pathassistant_pathAssistant1 + + Replace header Region diff --git a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml new file mode 100644 index 00000000..f70fe838 --- /dev/null +++ b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml @@ -0,0 +1,260 @@ + + + 54.0 + On Adoption Status = Adopted, Update Contact Flag, Clear current and create new Movement record, update Animal status + Animal - Adoption Update Automation {!$Flow.CurrentDateTime} + + + BuilderType + + LightningFlowBuilder + + + + CanvasMode + + AUTO_LAYOUT_CANVAS + + + + OriginBuilderType + + LightningFlowBuilder + + + AutoLaunchedFlow + + Create_New_Movement_Record + + 176 + 935 + + Update_Animal_Record + + + Animal__c + + Get_Adoption_Record.Animal__r.Id + + + + Current__c + + true + + + + Start_Date__c + + $Flow.CurrentDate + + + + Type__c + + Adopted, See Adoption Record + + + Movement__c + true + + + Get_Adoption_Record + + 176 + 335 + false + + Get_Associated_Contact_Record + + and + + Id + EqualTo + + $Record.Id + + + true + Adoption__c + true + + + Get_Associated_Contact_Record + + 176 + 455 + false + + Set_Adopter_Flag_on_Contact_to_True + + and + + Id + EqualTo + + Get_Adoption_Record.Primary_Contact__r.Id + + + true + Contact + true + + + Get_Current_Movement_Record + + 176 + 695 + false + + Close_current_Movement_Record + + and + + Animal__c + EqualTo + + Get_Adoption_Record.Animal__r.Id + + + + Current__c + EqualTo + + true + + + true + Movement__c + true + + + Close_current_Movement_Record + + 176 + 815 + + Create_New_Movement_Record + + and + + Id + EqualTo + + Get_Current_Movement_Record.Id + + + + Current__c + + false + + + + End_Date__c + + $Flow.CurrentDate + + + Movement__c + + + Set_Adopter_Flag_on_Contact_to_True + + 176 + 575 + + Get_Current_Movement_Record + + and + + Id + EqualTo + + Get_Associated_Contact_Record.Id + + + + Is_an_Adopter__c + + true + + + Contact + + + Update Date of Adoption on Adoption Record + Update_Adoption_Record + + 176 + 1175 + + Date_Collected__c + + $Flow.CurrentDate + + + + Date_of_Adoption__c + + $Flow.CurrentDate + + + $Record + + + Update_Animal_Record + + 176 + 1055 + + Update_Adoption_Record + + and + + Id + EqualTo + + Get_Adoption_Record.Animal__r.Id + + + + Animal_Status__c + + Adopted + + + + Location_Status__c + + Adopted - See Adoption Record + + + + Previous_Current_Owner__c + + Get_Associated_Contact_Record.Id + + + Animal__c + + + 50 + 0 + + Get_Adoption_Record + + and + + Adoption_Stage__c + EqualTo + + Adopted + + + Adoption__c + Update + RecordAfterSave + + Active + diff --git a/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml new file mode 100644 index 00000000..12604cac --- /dev/null +++ b/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml @@ -0,0 +1,300 @@ + + + Submit + + false + false + true + + + + Edit + OwnerId + + + Required + Name + + + Edit + AccountId + + + Edit + Title + + + Edit + Department + + + Edit + Birthdate + + + Edit + ReportsToId + + + Edit + LeadSource + + + + + Edit + Phone + + + Edit + HomePhone + + + Edit + MobilePhone + + + Edit + OtherPhone + + + Edit + Fax + + + Edit + Email + + + Edit + AssistantName + + + Edit + AssistantPhone + + + + + + false + false + true + + + + Edit + MailingAddress + + + + + Edit + OtherAddress + + + + + + true + true + true + + + + Edit + Is_an_Adopter__c + + + + + Edit + Is_a_Foster__c + + + + + + false + false + true + + + + + + + false + false + true + + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + false + false + true + + + + Edit + Description + + + + + + true + true + false + + + + + + + + + FeedItem.TextPost + + + FeedItem.ContentPost + + + NewTask + + + LogACall + + + NewCase + + + NewEvent + + + FeedItem.ContentNote + + + FeedItem.RypplePost + + + FeedItem.LinkPost + + + FeedItem.PollPost + + + FeedItem.QuestionPost + + + SendEmail + + + + + + Readonly + AccountId + + + + + runtime_sales_social:socialPanel + + + + + NAME + Animal__c + Date_of_Adoption__c + Adoption__c.Primary_Contact__c + + + NAME + Animal_Name__c + Type__c + Breed__c + Animal_Status__c + Animal__c.Previous_Current_Owner__c + + + OPPORTUNITY.NAME + OPPORTUNITY.STAGE_NAME + OPPORTUNITY.AMOUNT + OPPORTUNITY.CLOSE_DATE + RelatedOpportunityList + + + CASES.CASE_NUMBER + CASES.SUBJECT + CASES.PRIORITY + CASES.CREATED_DATE + CASES.STATUS + OWNER_NAME + RelatedCaseList + + + TASK.SUBJECT + TASK.WHAT_NAME + ACTIVITY.TASK + TASK.DUE_DATE + TASK.STATUS + TASK.PRIORITY + CORE.USERS.FULL_NAME + RelatedActivityList + + + TASK.SUBJECT + TASK.WHAT_NAME + ACTIVITY.TASK + TASK.DUE_DATE + CORE.USERS.FULL_NAME + TASK.LAST_UPDATE + RelatedHistoryList + + + CAMPAIGN.NAME + CAMPAIGN.START_DATE + CAMPAIGN.CAMPAIGN_TYPE + CM.STATUS + CM.RESPONDED + CM.LAST_UPDATE + RelatedCampaignList + + + RelatedNoteList + + + ACTIVITY.SUBJECT + EMAIL_STATUS.CREATED_DATE + EMAIL_STATUS.FIRST_OPEN_DATE + EMAIL_STATUS.TIMES_OPENED + EMAIL_STATUS.LAST_OPEN_DATE + RelatedEmailStatusList + + AccountId + false + false + false + false + false + + 00h3G0000019tcW + 4 + 0 + Default + + diff --git a/force-app/main/default/objects/Animal__c/fields/Animal_Status__c.field-meta.xml b/force-app/main/default/objects/Animal__c/fields/Animal_Status__c.field-meta.xml index 5fc9f123..8f5cef50 100644 --- a/force-app/main/default/objects/Animal__c/fields/Animal_Status__c.field-meta.xml +++ b/force-app/main/default/objects/Animal__c/fields/Animal_Status__c.field-meta.xml @@ -55,6 +55,11 @@ false + + Adopted + false + + diff --git a/force-app/main/default/objects/Contact/Contact.object-meta.xml b/force-app/main/default/objects/Contact/Contact.object-meta.xml new file mode 100644 index 00000000..33b0d000 --- /dev/null +++ b/force-app/main/default/objects/Contact/Contact.object-meta.xml @@ -0,0 +1,353 @@ + + + + AddCampaign + Default + + + AddCampaign + Large + Default + + + AddCampaign + Small + Default + + + AddToCampaign + Default + + + AddToCampaign + Large + Default + + + AddToCampaign + Small + Default + + + CallHighlightAction + Default + + + CallHighlightAction + Large + Default + + + CallHighlightAction + Small + Default + + + CancelEdit + Default + + + CancelEdit + Large + Default + + + CancelEdit + Small + Default + + + Clone + Default + + + Clone + Large + Default + + + Clone + Small + Default + + + Delete + Default + + + Delete + Large + Default + + + Delete + Small + Default + + + Edit + Default + + + Edit + Large + Default + + + Edit + Small + Default + + + EmailHighlightAction + Default + + + EmailHighlightAction + Large + Default + + + EmailHighlightAction + Small + Default + + + EnableCustomerPortal + Default + + + EnableCustomerPortal + Large + Default + + + EnableCustomerPortal + Small + Default + + + EnablePartnerPortalUser + Default + + + EnablePartnerPortalUser + Large + Default + + + EnablePartnerPortalUser + Small + Default + + + EnableSelfService + Default + + + EnableSelfService + Large + Default + + + EnableSelfService + Small + Default + + + List + Default + + + List + Large + Default + + + List + Small + Default + + + ListClean + Default + + + ListClean + Large + Default + + + ListClean + Small + Default + + + Merge + Default + + + Merge + Large + Default + + + Merge + Small + Default + + + NewContact + Default + + + NewContact + Large + Default + + + NewContact + Small + Default + + + RequestUpdate + Default + + + RequestUpdate + Large + Default + + + RequestUpdate + Small + Default + + + SaveEdit + Default + + + SaveEdit + Large + Default + + + SaveEdit + Small + Default + + + SmsHighlightAction + Default + + + SmsHighlightAction + Large + Default + + + SmsHighlightAction + Small + Default + + + Tab + Default + + + Tab + Large + Default + + + Tab + Small + Default + + + View + Default + + + View + Large + Default + + + View + Small + Default + + + ViewCustomerPortal + Default + + + ViewCustomerPortal + Large + Default + + + ViewCustomerPortal + Small + Default + + + ViewPartnerPortalUser + Default + + + ViewPartnerPortalUser + Large + Default + + + ViewPartnerPortalUser + Small + Default + + + ViewSelfService + Default + + + ViewSelfService + Large + Default + + + ViewSelfService + Small + Default + + Animal_Shelter_Contact_CL + true + false + ControlledByParent + + FULL_NAME + ACCOUNT.NAME + CONTACT.PHONE1 + FULL_NAME + ACCOUNT.NAME + ACCOUNT.SITE + FULL_NAME + ACCOUNT.NAME + ACCOUNT.SITE + CONTACT.PHONE1 + CONTACT.PHONE3 + CONTACT.PHONE4 + CONTACT.PHONE5 + CONTACT.PHONE6 + ACCOUNT.PHONE1 + FULL_NAME + ACCOUNT.NAME + ACCOUNT.SITE + CONTACT.PHONE1 + CONTACT.EMAIL + CORE.USERS.ALIAS + + ControlledByParent + diff --git a/force-app/main/default/objects/Contact/compactLayouts/Animal_Shelter_Contact_CL.compactLayout-meta.xml b/force-app/main/default/objects/Contact/compactLayouts/Animal_Shelter_Contact_CL.compactLayout-meta.xml new file mode 100644 index 00000000..cf6555d1 --- /dev/null +++ b/force-app/main/default/objects/Contact/compactLayouts/Animal_Shelter_Contact_CL.compactLayout-meta.xml @@ -0,0 +1,11 @@ + + + Animal_Shelter_Contact_CL + Name + Title + AccountId + Email + Is_a_Foster__c + Is_an_Adopter__c + + diff --git a/force-app/main/default/objects/Contact/fields/AccountId.field-meta.xml b/force-app/main/default/objects/Contact/fields/AccountId.field-meta.xml new file mode 100644 index 00000000..30ad0b58 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/AccountId.field-meta.xml @@ -0,0 +1,6 @@ + + + AccountId + true + Lookup + diff --git a/force-app/main/default/objects/Contact/fields/AssistantName.field-meta.xml b/force-app/main/default/objects/Contact/fields/AssistantName.field-meta.xml new file mode 100644 index 00000000..2b6b4157 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/AssistantName.field-meta.xml @@ -0,0 +1,6 @@ + + + AssistantName + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/AssistantPhone.field-meta.xml b/force-app/main/default/objects/Contact/fields/AssistantPhone.field-meta.xml new file mode 100644 index 00000000..26e86f28 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/AssistantPhone.field-meta.xml @@ -0,0 +1,6 @@ + + + AssistantPhone + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/Birthdate.field-meta.xml b/force-app/main/default/objects/Contact/fields/Birthdate.field-meta.xml new file mode 100644 index 00000000..cd7aa0f9 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Birthdate.field-meta.xml @@ -0,0 +1,6 @@ + + + Birthdate + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/CleanStatus.field-meta.xml b/force-app/main/default/objects/Contact/fields/CleanStatus.field-meta.xml new file mode 100644 index 00000000..41ca5c55 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/CleanStatus.field-meta.xml @@ -0,0 +1,5 @@ + + + CleanStatus + false + diff --git a/force-app/main/default/objects/Contact/fields/Department.field-meta.xml b/force-app/main/default/objects/Contact/fields/Department.field-meta.xml new file mode 100644 index 00000000..b49a475b --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Department.field-meta.xml @@ -0,0 +1,5 @@ + + + Department + false + diff --git a/force-app/main/default/objects/Contact/fields/Description.field-meta.xml b/force-app/main/default/objects/Contact/fields/Description.field-meta.xml new file mode 100644 index 00000000..ce7f9cab --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Description.field-meta.xml @@ -0,0 +1,5 @@ + + + Description + false + diff --git a/force-app/main/default/objects/Contact/fields/DoNotCall.field-meta.xml b/force-app/main/default/objects/Contact/fields/DoNotCall.field-meta.xml new file mode 100644 index 00000000..1a3b35a1 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/DoNotCall.field-meta.xml @@ -0,0 +1,5 @@ + + + DoNotCall + false + diff --git a/force-app/main/default/objects/Contact/fields/Email.field-meta.xml b/force-app/main/default/objects/Contact/fields/Email.field-meta.xml new file mode 100644 index 00000000..d1e2a6a6 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Email.field-meta.xml @@ -0,0 +1,6 @@ + + + Email + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/Fax.field-meta.xml b/force-app/main/default/objects/Contact/fields/Fax.field-meta.xml new file mode 100644 index 00000000..72c225cb --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Fax.field-meta.xml @@ -0,0 +1,6 @@ + + + Fax + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/HasOptedOutOfEmail.field-meta.xml b/force-app/main/default/objects/Contact/fields/HasOptedOutOfEmail.field-meta.xml new file mode 100644 index 00000000..9e970341 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/HasOptedOutOfEmail.field-meta.xml @@ -0,0 +1,5 @@ + + + HasOptedOutOfEmail + false + diff --git a/force-app/main/default/objects/Contact/fields/HasOptedOutOfFax.field-meta.xml b/force-app/main/default/objects/Contact/fields/HasOptedOutOfFax.field-meta.xml new file mode 100644 index 00000000..a3fa8fe5 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/HasOptedOutOfFax.field-meta.xml @@ -0,0 +1,5 @@ + + + HasOptedOutOfFax + false + diff --git a/force-app/main/default/objects/Contact/fields/HomePhone.field-meta.xml b/force-app/main/default/objects/Contact/fields/HomePhone.field-meta.xml new file mode 100644 index 00000000..a37c4b21 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/HomePhone.field-meta.xml @@ -0,0 +1,6 @@ + + + HomePhone + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/IndividualId.field-meta.xml b/force-app/main/default/objects/Contact/fields/IndividualId.field-meta.xml new file mode 100644 index 00000000..c7d685b8 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/IndividualId.field-meta.xml @@ -0,0 +1,6 @@ + + + IndividualId + false + Lookup + diff --git a/force-app/main/default/objects/Contact/fields/Is_an_Adopter__c.field-meta.xml b/force-app/main/default/objects/Contact/fields/Is_an_Adopter__c.field-meta.xml new file mode 100644 index 00000000..e5720713 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Is_an_Adopter__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Is_an_Adopter__c + false + Used by Animal Shelter Starter Pack to indicate that the Contact has successfully adopted an Animal + false + Contact is an Animal Adopter + + false + Checkbox + diff --git a/force-app/main/default/objects/Contact/fields/Jigsaw.field-meta.xml b/force-app/main/default/objects/Contact/fields/Jigsaw.field-meta.xml new file mode 100644 index 00000000..47328609 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Jigsaw.field-meta.xml @@ -0,0 +1,5 @@ + + + Jigsaw + false + diff --git a/force-app/main/default/objects/Contact/fields/LastCURequestDate.field-meta.xml b/force-app/main/default/objects/Contact/fields/LastCURequestDate.field-meta.xml new file mode 100644 index 00000000..cc57180e --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/LastCURequestDate.field-meta.xml @@ -0,0 +1,4 @@ + + + LastCURequestDate + diff --git a/force-app/main/default/objects/Contact/fields/LastCUUpdateDate.field-meta.xml b/force-app/main/default/objects/Contact/fields/LastCUUpdateDate.field-meta.xml new file mode 100644 index 00000000..fe119f33 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/LastCUUpdateDate.field-meta.xml @@ -0,0 +1,4 @@ + + + LastCUUpdateDate + diff --git a/force-app/main/default/objects/Contact/fields/LeadSource.field-meta.xml b/force-app/main/default/objects/Contact/fields/LeadSource.field-meta.xml new file mode 100644 index 00000000..56a54c8d --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/LeadSource.field-meta.xml @@ -0,0 +1,6 @@ + + + LeadSource + false + Picklist + diff --git a/force-app/main/default/objects/Contact/fields/MailingAddress.field-meta.xml b/force-app/main/default/objects/Contact/fields/MailingAddress.field-meta.xml new file mode 100644 index 00000000..0e8f4b78 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/MailingAddress.field-meta.xml @@ -0,0 +1,5 @@ + + + MailingAddress + false + diff --git a/force-app/main/default/objects/Contact/fields/MobilePhone.field-meta.xml b/force-app/main/default/objects/Contact/fields/MobilePhone.field-meta.xml new file mode 100644 index 00000000..ac3ddaef --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/MobilePhone.field-meta.xml @@ -0,0 +1,6 @@ + + + MobilePhone + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/Name.field-meta.xml b/force-app/main/default/objects/Contact/fields/Name.field-meta.xml new file mode 100644 index 00000000..6d55d163 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Name.field-meta.xml @@ -0,0 +1,5 @@ + + + Name + true + diff --git a/force-app/main/default/objects/Contact/fields/OtherAddress.field-meta.xml b/force-app/main/default/objects/Contact/fields/OtherAddress.field-meta.xml new file mode 100644 index 00000000..84a58bd5 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/OtherAddress.field-meta.xml @@ -0,0 +1,5 @@ + + + OtherAddress + false + diff --git a/force-app/main/default/objects/Contact/fields/OtherPhone.field-meta.xml b/force-app/main/default/objects/Contact/fields/OtherPhone.field-meta.xml new file mode 100644 index 00000000..34794a7d --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/OtherPhone.field-meta.xml @@ -0,0 +1,6 @@ + + + OtherPhone + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/OwnerId.field-meta.xml b/force-app/main/default/objects/Contact/fields/OwnerId.field-meta.xml new file mode 100644 index 00000000..6d49c53c --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/OwnerId.field-meta.xml @@ -0,0 +1,6 @@ + + + OwnerId + true + Lookup + diff --git a/force-app/main/default/objects/Contact/fields/Phone.field-meta.xml b/force-app/main/default/objects/Contact/fields/Phone.field-meta.xml new file mode 100644 index 00000000..96b0007d --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Phone.field-meta.xml @@ -0,0 +1,6 @@ + + + Phone + Confidential + false + diff --git a/force-app/main/default/objects/Contact/fields/ReportsToId.field-meta.xml b/force-app/main/default/objects/Contact/fields/ReportsToId.field-meta.xml new file mode 100644 index 00000000..8a4e0167 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/ReportsToId.field-meta.xml @@ -0,0 +1,7 @@ + + + ReportsToId + Confidential + false + Lookup + diff --git a/force-app/main/default/objects/Contact/fields/Title.field-meta.xml b/force-app/main/default/objects/Contact/fields/Title.field-meta.xml new file mode 100644 index 00000000..0cb94f91 --- /dev/null +++ b/force-app/main/default/objects/Contact/fields/Title.field-meta.xml @@ -0,0 +1,6 @@ + + + Title + Confidential + false + diff --git a/force-app/main/default/pathAssistants/Adoption_Path.pathAssistant-meta.xml b/force-app/main/default/pathAssistants/Adoption_Path.pathAssistant-meta.xml index 3f96bb99..7faf0c26 100644 --- a/force-app/main/default/pathAssistants/Adoption_Path.pathAssistant-meta.xml +++ b/force-app/main/default/pathAssistants/Adoption_Path.pathAssistant-meta.xml @@ -7,7 +7,7 @@ Date_of_Adoption__c Date_Collected__c - <p>Please remember to update the Animal&#39;s Location</p> + <p>A new Movement record will automatically be created.</p> Adopted @@ -16,7 +16,7 @@ Primary_Contact__c - %%%NAMESPACED_ORG%%%Animal__c + Animal__c Initial Review