From 54a83a8eaa4f8b6bfa06897a634b597b7136af74 Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Thu, 26 May 2022 17:48:12 +0100 Subject: [PATCH 1/7] Added field to Contact Object --- ...act %28Marketing%29 Layout.layout-meta.xml | 269 +++++++++++++ ...Contact %28Sales%29 Layout.layout-meta.xml | 268 +++++++++++++ ...ntact %28Support%29 Layout.layout-meta.xml | 261 +++++++++++++ .../Contact-Contact Layout.layout-meta.xml | 268 +++++++++++++ .../objects/Contact/Contact.object-meta.xml | 353 ++++++++++++++++++ ..._Shelter_Contact_CL.compactLayout-meta.xml | 11 + .../Contact/fields/AccountId.field-meta.xml | 6 + .../fields/AssistantName.field-meta.xml | 6 + .../fields/AssistantPhone.field-meta.xml | 6 + .../Contact/fields/Birthdate.field-meta.xml | 6 + .../Contact/fields/CleanStatus.field-meta.xml | 5 + .../Contact/fields/Department.field-meta.xml | 5 + .../Contact/fields/Description.field-meta.xml | 5 + .../Contact/fields/DoNotCall.field-meta.xml | 5 + .../Contact/fields/Email.field-meta.xml | 6 + .../objects/Contact/fields/Fax.field-meta.xml | 6 + .../fields/HasOptedOutOfEmail.field-meta.xml | 5 + .../fields/HasOptedOutOfFax.field-meta.xml | 5 + .../Contact/fields/HomePhone.field-meta.xml | 6 + .../fields/IndividualId.field-meta.xml | 6 + .../fields/Is_an_Adopter__c.field-meta.xml | 11 + .../Contact/fields/Jigsaw.field-meta.xml | 5 + .../fields/LastCURequestDate.field-meta.xml | 4 + .../fields/LastCUUpdateDate.field-meta.xml | 4 + .../Contact/fields/LeadSource.field-meta.xml | 6 + .../fields/MailingAddress.field-meta.xml | 5 + .../Contact/fields/MobilePhone.field-meta.xml | 6 + .../Contact/fields/Name.field-meta.xml | 5 + .../fields/OtherAddress.field-meta.xml | 5 + .../Contact/fields/OtherPhone.field-meta.xml | 6 + .../Contact/fields/OwnerId.field-meta.xml | 6 + .../Contact/fields/Phone.field-meta.xml | 6 + .../Contact/fields/ReportsToId.field-meta.xml | 7 + .../Contact/fields/Title.field-meta.xml | 6 + 34 files changed, 1590 insertions(+) create mode 100644 force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml create mode 100644 force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml create mode 100644 force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml create mode 100644 force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml create mode 100644 force-app/main/default/objects/Contact/Contact.object-meta.xml create mode 100644 force-app/main/default/objects/Contact/compactLayouts/Animal_Shelter_Contact_CL.compactLayout-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/AccountId.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/AssistantName.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/AssistantPhone.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Birthdate.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/CleanStatus.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Department.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Description.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/DoNotCall.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Email.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Fax.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/HasOptedOutOfEmail.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/HasOptedOutOfFax.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/HomePhone.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/IndividualId.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Is_an_Adopter__c.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Jigsaw.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/LastCURequestDate.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/LastCUUpdateDate.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/LeadSource.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/MailingAddress.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/MobilePhone.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Name.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/OtherAddress.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/OtherPhone.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/OwnerId.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Phone.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/ReportsToId.field-meta.xml create mode 100644 force-app/main/default/objects/Contact/fields/Title.field-meta.xml diff --git a/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml new file mode 100644 index 00000000..4c96ec8e --- /dev/null +++ b/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml @@ -0,0 +1,269 @@ + + + false + PersonalTagging + PublicTagging + + false + false + true + + + + Edit + OwnerId + + + Required + Name + + + Edit + AccountId + + + Edit + Title + + + Edit + Department + + + Edit + ReportsToId + + + Edit + LeadSource + + + Edit + Is_an_Adopter__c + + + + + Edit + Phone + + + Edit + HomePhone + + + Edit + MobilePhone + + + Edit + OtherPhone + + + Edit + Fax + + + Edit + Email + + + Edit + AssistantName + + + Edit + AssistantPhone + + + + + + false + false + true + + + + Edit + MailingAddress + + + + + Edit + OtherAddress + + + + + + false + false + true + + + + Edit + Birthdate + + + + + + + false + false + true + + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + false + false + true + + + + Edit + Description + + + + + + false + false + false + + + + + + FeedItem.TextPost + + + FeedItem.ContentPost + + + NewTask + + + LogACall + + + NewCase + + + NewNote + + + NewEvent + + + FeedItem.ContentNote + + + FeedItem.RypplePost + + + FeedItem.LinkPost + + + FeedItem.PollPost + + + FeedItem.QuestionPost + + + SendEmail + + + + + + Readonly + AccountId + + + + + runtime_sales_social:socialPanel + + + + + 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 + true + false + false + true + false + diff --git a/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml new file mode 100644 index 00000000..c979e852 --- /dev/null +++ b/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml @@ -0,0 +1,268 @@ + + + false + PersonalTagging + PublicTagging + + false + false + true + + + + Edit + OwnerId + + + Required + Name + + + Edit + AccountId + + + Edit + Title + + + Edit + Department + + + Edit + ReportsToId + + + Edit + LeadSource + + + Edit + Birthdate + + + Edit + Is_an_Adopter__c + + + + + Edit + Phone + + + Edit + HomePhone + + + Edit + MobilePhone + + + Edit + OtherPhone + + + Edit + Fax + + + Edit + Email + + + Edit + AssistantName + + + Edit + AssistantPhone + + + + + + false + false + true + + + + Edit + MailingAddress + + + + + Edit + OtherAddress + + + + + + false + false + true + + + + + + + false + false + true + + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + false + false + true + + + + Edit + Description + + + + + + false + false + false + + + + + + FeedItem.TextPost + + + FeedItem.ContentPost + + + NewTask + + + LogACall + + + NewCase + + + NewNote + + + NewEvent + + + FeedItem.ContentNote + + + FeedItem.RypplePost + + + FeedItem.LinkPost + + + FeedItem.PollPost + + + FeedItem.QuestionPost + + + SendEmail + + + + + + Readonly + AccountId + + + + + runtime_sales_social:socialPanel + + + + + OPPORTUNITY.NAME + OPPORTUNITY.STAGE_NAME + OPPORTUNITY.AMOUNT + OPPORTUNITY.CLOSE_DATE + RelatedOpportunityList + + + 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 + + + CASES.CASE_NUMBER + CASES.SUBJECT + CASES.PRIORITY + CASES.CREATED_DATE + CASES.STATUS + OWNER_NAME + RelatedCaseList + + + 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 + true + false + false + true + false + diff --git a/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml new file mode 100644 index 00000000..10ffb1ac --- /dev/null +++ b/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml @@ -0,0 +1,261 @@ + + + false + PersonalTagging + PublicTagging + + false + false + true + + + + Edit + OwnerId + + + Required + Name + + + Edit + AccountId + + + Edit + Title + + + Edit + Department + + + Edit + Is_an_Adopter__c + + + + + Edit + Phone + + + Edit + HomePhone + + + Edit + MobilePhone + + + Edit + OtherPhone + + + Edit + Fax + + + Edit + Email + + + Edit + AssistantName + + + Edit + AssistantPhone + + + + + + false + false + true + + + + Edit + MailingAddress + + + + + Edit + OtherAddress + + + + + + false + false + true + + + + Edit + Birthdate + + + Edit + LeadSource + + + + + Edit + ReportsToId + + + + + + false + false + true + + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + false + false + true + + + + Edit + Description + + + + + + false + false + false + + + + + + NewTask + + + LogACall + + + NewCase + + + NewNote + + + NewEvent + + + FeedItem.ContentNote + + + FeedItem.RypplePost + + + FeedItem.LinkPost + + + FeedItem.PollPost + + + FeedItem.QuestionPost + + + FeedItem.TextPost + + + FeedItem.ContentPost + + + SendEmail + + + + + + Readonly + AccountId + + + + + runtime_sales_social:socialPanel + + + + + 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 + + + OPPORTUNITY.NAME + OPPORTUNITY.STAGE_NAME + OPPORTUNITY.AMOUNT + OPPORTUNITY.CLOSE_DATE + RelatedOpportunityList + + + RelatedNoteList + + + ACTIVITY.SUBJECT + EMAIL_STATUS.CREATED_DATE + EMAIL_STATUS.FIRST_OPEN_DATE + EMAIL_STATUS.TIMES_OPENED + EMAIL_STATUS.LAST_OPEN_DATE + RelatedEmailStatusList + + AccountId + false + true + false + false + true + false + diff --git a/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml new file mode 100644 index 00000000..88935085 --- /dev/null +++ b/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml @@ -0,0 +1,268 @@ + + + false + PersonalTagging + PublicTagging + + false + false + true + + + + Edit + OwnerId + + + Required + Name + + + Edit + AccountId + + + Edit + Title + + + Edit + Department + + + Edit + Birthdate + + + Edit + ReportsToId + + + Edit + LeadSource + + + Edit + Is_an_Adopter__c + + + + + Edit + Phone + + + Edit + HomePhone + + + Edit + MobilePhone + + + Edit + OtherPhone + + + Edit + Fax + + + Edit + Email + + + Edit + AssistantName + + + Edit + AssistantPhone + + + + + + false + false + true + + + + Edit + MailingAddress + + + + + Edit + OtherAddress + + + + + + false + false + true + + + + + + + false + false + true + + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + false + false + true + + + + Edit + Description + + + + + + false + false + false + + + + + + FeedItem.TextPost + + + FeedItem.ContentPost + + + NewTask + + + LogACall + + + NewCase + + + NewNote + + + NewEvent + + + FeedItem.ContentNote + + + FeedItem.RypplePost + + + FeedItem.LinkPost + + + FeedItem.PollPost + + + FeedItem.QuestionPost + + + SendEmail + + + + + + Readonly + AccountId + + + + + runtime_sales_social:socialPanel + + + + + 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 + true + false + false + true + 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 + From 733e764014e7d19ad1d9c7a003ce643548c428d6 Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Fri, 27 May 2022 08:49:36 +0100 Subject: [PATCH 2/7] Removed Contact Layouts --- ...act %28Marketing%29 Layout.layout-meta.xml | 269 ------------------ ...Contact %28Sales%29 Layout.layout-meta.xml | 268 ----------------- ...ntact %28Support%29 Layout.layout-meta.xml | 261 ----------------- .../Contact-Contact Layout.layout-meta.xml | 268 ----------------- 4 files changed, 1066 deletions(-) delete mode 100644 force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml delete mode 100644 force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml delete mode 100644 force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml delete mode 100644 force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml diff --git a/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml deleted file mode 100644 index 4c96ec8e..00000000 --- a/force-app/main/default/layouts/Contact-Contact %28Marketing%29 Layout.layout-meta.xml +++ /dev/null @@ -1,269 +0,0 @@ - - - false - PersonalTagging - PublicTagging - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Edit - AccountId - - - Edit - Title - - - Edit - Department - - - Edit - ReportsToId - - - Edit - LeadSource - - - Edit - Is_an_Adopter__c - - - - - Edit - Phone - - - Edit - HomePhone - - - Edit - MobilePhone - - - Edit - OtherPhone - - - Edit - Fax - - - Edit - Email - - - Edit - AssistantName - - - Edit - AssistantPhone - - - - - - false - false - true - - - - Edit - MailingAddress - - - - - Edit - OtherAddress - - - - - - false - false - true - - - - Edit - Birthdate - - - - - - - false - false - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - true - - - - Edit - Description - - - - - - false - false - false - - - - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - NewTask - - - LogACall - - - NewCase - - - NewNote - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - FeedItem.QuestionPost - - - SendEmail - - - - - - Readonly - AccountId - - - - - runtime_sales_social:socialPanel - - - - - 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 - true - false - false - true - false - diff --git a/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml deleted file mode 100644 index c979e852..00000000 --- a/force-app/main/default/layouts/Contact-Contact %28Sales%29 Layout.layout-meta.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - false - PersonalTagging - PublicTagging - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Edit - AccountId - - - Edit - Title - - - Edit - Department - - - Edit - ReportsToId - - - Edit - LeadSource - - - Edit - Birthdate - - - Edit - Is_an_Adopter__c - - - - - Edit - Phone - - - Edit - HomePhone - - - Edit - MobilePhone - - - Edit - OtherPhone - - - Edit - Fax - - - Edit - Email - - - Edit - AssistantName - - - Edit - AssistantPhone - - - - - - false - false - true - - - - Edit - MailingAddress - - - - - Edit - OtherAddress - - - - - - false - false - true - - - - - - - false - false - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - true - - - - Edit - Description - - - - - - false - false - false - - - - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - NewTask - - - LogACall - - - NewCase - - - NewNote - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - FeedItem.QuestionPost - - - SendEmail - - - - - - Readonly - AccountId - - - - - runtime_sales_social:socialPanel - - - - - OPPORTUNITY.NAME - OPPORTUNITY.STAGE_NAME - OPPORTUNITY.AMOUNT - OPPORTUNITY.CLOSE_DATE - RelatedOpportunityList - - - 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 - - - CASES.CASE_NUMBER - CASES.SUBJECT - CASES.PRIORITY - CASES.CREATED_DATE - CASES.STATUS - OWNER_NAME - RelatedCaseList - - - 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 - true - false - false - true - false - diff --git a/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml deleted file mode 100644 index 10ffb1ac..00000000 --- a/force-app/main/default/layouts/Contact-Contact %28Support%29 Layout.layout-meta.xml +++ /dev/null @@ -1,261 +0,0 @@ - - - false - PersonalTagging - PublicTagging - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Edit - AccountId - - - Edit - Title - - - Edit - Department - - - Edit - Is_an_Adopter__c - - - - - Edit - Phone - - - Edit - HomePhone - - - Edit - MobilePhone - - - Edit - OtherPhone - - - Edit - Fax - - - Edit - Email - - - Edit - AssistantName - - - Edit - AssistantPhone - - - - - - false - false - true - - - - Edit - MailingAddress - - - - - Edit - OtherAddress - - - - - - false - false - true - - - - Edit - Birthdate - - - Edit - LeadSource - - - - - Edit - ReportsToId - - - - - - false - false - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - true - - - - Edit - Description - - - - - - false - false - false - - - - - - NewTask - - - LogACall - - - NewCase - - - NewNote - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - FeedItem.QuestionPost - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - SendEmail - - - - - - Readonly - AccountId - - - - - runtime_sales_social:socialPanel - - - - - 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 - - - OPPORTUNITY.NAME - OPPORTUNITY.STAGE_NAME - OPPORTUNITY.AMOUNT - OPPORTUNITY.CLOSE_DATE - RelatedOpportunityList - - - RelatedNoteList - - - ACTIVITY.SUBJECT - EMAIL_STATUS.CREATED_DATE - EMAIL_STATUS.FIRST_OPEN_DATE - EMAIL_STATUS.TIMES_OPENED - EMAIL_STATUS.LAST_OPEN_DATE - RelatedEmailStatusList - - AccountId - false - true - false - false - true - false - diff --git a/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml deleted file mode 100644 index 88935085..00000000 --- a/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - false - PersonalTagging - PublicTagging - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Edit - AccountId - - - Edit - Title - - - Edit - Department - - - Edit - Birthdate - - - Edit - ReportsToId - - - Edit - LeadSource - - - Edit - Is_an_Adopter__c - - - - - Edit - Phone - - - Edit - HomePhone - - - Edit - MobilePhone - - - Edit - OtherPhone - - - Edit - Fax - - - Edit - Email - - - Edit - AssistantName - - - Edit - AssistantPhone - - - - - - false - false - true - - - - Edit - MailingAddress - - - - - Edit - OtherAddress - - - - - - false - false - true - - - - - - - false - false - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - true - - - - Edit - Description - - - - - - false - false - false - - - - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - NewTask - - - LogACall - - - NewCase - - - NewNote - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - FeedItem.QuestionPost - - - SendEmail - - - - - - Readonly - AccountId - - - - - runtime_sales_social:socialPanel - - - - - 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 - true - false - false - true - false - From d04597f92f9289ca46431dfcbb96dc998531897a Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Fri, 27 May 2022 10:39:32 +0100 Subject: [PATCH 3/7] Update Animal_Status__c.field-meta.xml Added Status of Adopted to Animal Status Picklist --- .../objects/Animal__c/fields/Animal_Status__c.field-meta.xml | 5 +++++ 1 file changed, 5 insertions(+) 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 + + From 0b678176adc13f538a52b23ef100f2cdcae84605 Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Fri, 27 May 2022 11:07:16 +0100 Subject: [PATCH 4/7] Added Record Triggered Flow to Adoption Object --- .../Adoption_Record_Page.flexipage-meta.xml | 14 ++ ...l_Adoption_Update_Automation.flow-meta.xml | 225 ++++++++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml 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..5e05f0c2 --- /dev/null +++ b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml @@ -0,0 +1,225 @@ + + + 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_Status + + + 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_Animal_Status + + 176 + 1055 + and + + Id + EqualTo + + Get_Adoption_Record.Animal__r.Id + + + + Animal_Status__c + + Adopted + + + Animal__c + + + 50 + 0 + + Get_Adoption_Record + + and + + Adoption_Stage__c + EqualTo + + Adopted + + + Adoption__c + Update + RecordAfterSave + + Active + From 1357aecfd7867ee3781754763b0c7396d1e5e00f Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Fri, 27 May 2022 11:10:54 +0100 Subject: [PATCH 5/7] Updated Adoption Path --- .../Adoption_Path.animationRule-meta.xml | 12 ++++++++++++ .../Adoption_Path.pathAssistant-meta.xml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 force-app/main/default/animationRules/Adoption_Path.animationRule-meta.xml 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/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 From 8602ccfb3aae611c4dd915a9ffae572a935a390c Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Wed, 1 Jun 2022 09:29:08 +0200 Subject: [PATCH 6/7] Updates to Flow & Contact Page Layout --- ...l_Adoption_Update_Automation.flow-meta.xml | 29 +- ...helter Contact Page Layout.layout-meta.xml | 300 ++++++++++++++++++ 2 files changed, 326 insertions(+), 3 deletions(-) create mode 100644 force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml 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 index 5e05f0c2..b4647e7a 100644 --- 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 @@ -29,7 +29,7 @@ 176 935 - Update_Animal_Status + Update_Animal_Record Animal__c @@ -183,10 +183,27 @@ Contact - Update_Animal_Status - + Update Date of Adoption on Adoption Record + Update_Adoption_Record + + 176 + 1175 + + Date_of_Adoption__c + + $Flow.CurrentDate + + + $Record + + + Update_Animal_Record + 176 1055 + + Update_Adoption_Record + and Id @@ -201,6 +218,12 @@ Adopted + + Previous_Current_Owner__c + + Get_Associated_Contact_Record.Id + + Animal__c 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 + + From ea7cf21d26f03b0dc26c844f68588ee4daf6b2cb Mon Sep 17 00:00:00 2001 From: Chris Rolfe Date: Thu, 9 Jun 2022 09:45:24 +0100 Subject: [PATCH 7/7] Update Animal_Adoption_Update_Automation.flow-meta.xml --- .../Animal_Adoption_Update_Automation.flow-meta.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 index b4647e7a..f70fe838 100644 --- 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 @@ -188,6 +188,12 @@ 176 1175 + + Date_Collected__c + + $Flow.CurrentDate + + Date_of_Adoption__c @@ -218,6 +224,12 @@ Adopted + + Location_Status__c + + Adopted - See Adoption Record + + Previous_Current_Owner__c