@salesforce/ui-bundle-template-feature-property-management-metadata 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/src/force-app/main/default/applications/PropertyManagement.app-meta.xml +33 -0
  3. package/src/force-app/main/default/data/Application__c.json +10 -10
  4. package/src/force-app/main/default/data/data-plan.json +0 -6
  5. package/src/force-app/main/default/objects/Application__c/fields/User__c.field-meta.xml +2 -2
  6. package/src/force-app/main/default/objects/Property__c/Property__c.object-meta.xml +1 -1
  7. package/src/force-app/main/default/permissionsets/Property_Management_Access.permissionset-meta.xml +76 -0
  8. package/src/force-app/main/default/permissionsets/Tenant_Maintenance_Access.permissionset-meta.xml +1 -1
  9. package/src/force-app/main/default/tabs/Agent__c.tab-meta.xml +5 -0
  10. package/src/force-app/main/default/tabs/Application__c.tab-meta.xml +5 -0
  11. package/src/force-app/main/default/tabs/KPI_Snapshot__c.tab-meta.xml +5 -0
  12. package/src/force-app/main/default/tabs/Lease__c.tab-meta.xml +5 -0
  13. package/src/force-app/main/default/tabs/Maintenance_Request__c.tab-meta.xml +5 -0
  14. package/src/force-app/main/default/tabs/Maintenance_Worker__c.tab-meta.xml +5 -0
  15. package/src/force-app/main/default/tabs/Notification__c.tab-meta.xml +5 -0
  16. package/src/force-app/main/default/tabs/Payment__c.tab-meta.xml +5 -0
  17. package/src/force-app/main/default/tabs/Property_Cost__c.tab-meta.xml +5 -0
  18. package/src/force-app/main/default/tabs/Property_Feature__c.tab-meta.xml +5 -0
  19. package/src/force-app/main/default/tabs/Property_Image__c.tab-meta.xml +5 -0
  20. package/src/force-app/main/default/tabs/Property_Listing__c.tab-meta.xml +5 -0
  21. package/src/force-app/main/default/tabs/Property_Management_Company__c.tab-meta.xml +5 -0
  22. package/src/force-app/main/default/tabs/Property_Owner__c.tab-meta.xml +5 -0
  23. package/src/force-app/main/default/tabs/Property_Sale__c.tab-meta.xml +5 -0
  24. package/src/force-app/main/default/tabs/Property__c.tab-meta.xml +5 -0
  25. package/src/force-app/main/default/tabs/Tenant__c.tab-meta.xml +5 -0
  26. package/src/force-app/main/default/data/Contact.json +0 -44
  27. package/src/scripts/org-setup.config.json +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-feature-property-management-metadata",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Shared Property Management TDX object metadata and data for B2E/B2X sample apps",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <defaultLandingTab>standard-home</defaultLandingTab>
4
+ <description>Property Rental Management Application for managing properties, tenants, leases, payments, and maintenance.</description>
5
+ <formFactors>Large</formFactors>
6
+ <isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled>
7
+ <isNavPersonalizationDisabled>false</isNavPersonalizationDisabled>
8
+ <isNavTabPersistenceDisabled>false</isNavTabPersistenceDisabled>
9
+ <isOmniPinnedViewEnabled>false</isOmniPinnedViewEnabled>
10
+ <label>Property Management</label>
11
+ <navType>Standard</navType>
12
+ <tabs>standard-home</tabs>
13
+ <tabs>Property__c</tabs>
14
+ <tabs>Property_Listing__c</tabs>
15
+ <tabs>Tenant__c</tabs>
16
+ <tabs>Lease__c</tabs>
17
+ <tabs>Payment__c</tabs>
18
+ <tabs>Maintenance_Request__c</tabs>
19
+ <tabs>Maintenance_Worker__c</tabs>
20
+ <tabs>Application__c</tabs>
21
+ <tabs>Property_Owner__c</tabs>
22
+ <tabs>Property_Management_Company__c</tabs>
23
+ <tabs>Property_Cost__c</tabs>
24
+ <tabs>Property_Feature__c</tabs>
25
+ <tabs>Property_Image__c</tabs>
26
+ <tabs>Property_Sale__c</tabs>
27
+ <tabs>KPI_Snapshot__c</tabs>
28
+ <tabs>Notification__c</tabs>
29
+ <tabs>Agent__c</tabs>
30
+ <tabs>standard-report</tabs>
31
+ <tabs>standard-Dashboard</tabs>
32
+ <uiType>Lightning</uiType>
33
+ </CustomApplication>
@@ -6,7 +6,7 @@
6
6
  "referenceId": "ApplicationRef1"
7
7
  },
8
8
  "Property__c": "@PropertyRef5",
9
- "User__c": "@ContactRef1",
9
+ "User__c": null,
10
10
  "Status__c": "Submitted",
11
11
  "Start_Date__c": "2024-12-01",
12
12
  "Employment__c": "TechCorp Inc. - Senior Software Engineer - $95,000/year",
@@ -18,7 +18,7 @@
18
18
  "referenceId": "ApplicationRef2"
19
19
  },
20
20
  "Property__c": "@PropertyRef8",
21
- "User__c": "@ContactRef2",
21
+ "User__c": null,
22
22
  "Status__c": "Background Check",
23
23
  "Start_Date__c": "2024-12-15",
24
24
  "Employment__c": "City Hospital - Registered Nurse - $72,000/year",
@@ -30,7 +30,7 @@
30
30
  "referenceId": "ApplicationRef3"
31
31
  },
32
32
  "Property__c": "@PropertyRef12",
33
- "User__c": "@ContactRef3",
33
+ "User__c": null,
34
34
  "Status__c": "Approved",
35
35
  "Start_Date__c": "2024-11-01",
36
36
  "Employment__c": "Global Consulting LLC - Management Consultant - $110,000/year",
@@ -42,7 +42,7 @@
42
42
  "referenceId": "ApplicationRef4"
43
43
  },
44
44
  "Property__c": "@PropertyRef5",
45
- "User__c": "@ContactRef3",
45
+ "User__c": null,
46
46
  "Status__c": "Rejected",
47
47
  "Start_Date__c": "2024-12-01",
48
48
  "Employment__c": "Retail Store - Assistant Manager - $32,000/year",
@@ -54,7 +54,7 @@
54
54
  "referenceId": "ApplicationRef5"
55
55
  },
56
56
  "Property__c": "@PropertyRef16",
57
- "User__c": "@ContactRef3",
57
+ "User__c": null,
58
58
  "Status__c": "Draft",
59
59
  "Start_Date__c": "2025-01-15",
60
60
  "Employment__c": "University - Graduate Student - $18,000/year stipend",
@@ -66,7 +66,7 @@
66
66
  "referenceId": "ApplicationRef6"
67
67
  },
68
68
  "Property__c": "@PropertyRef20",
69
- "User__c": "@ContactRef3",
69
+ "User__c": null,
70
70
  "Status__c": "Submitted",
71
71
  "Start_Date__c": "2025-01-01",
72
72
  "Employment__c": "Local Business - Marketing Coordinator - $48,000/year (Co-signer: Parent, $85,000/year)",
@@ -78,7 +78,7 @@
78
78
  "referenceId": "ApplicationRef7"
79
79
  },
80
80
  "Property__c": "@PropertyRef8",
81
- "User__c": "@ContactRef3",
81
+ "User__c": null,
82
82
  "Status__c": "Background Check",
83
83
  "Start_Date__c": "2024-12-20",
84
84
  "Employment__c": "Finance Corp - Financial Analyst - $78,000/year",
@@ -90,7 +90,7 @@
90
90
  "referenceId": "ApplicationRef8"
91
91
  },
92
92
  "Property__c": "@PropertyRef3",
93
- "User__c": "@ContactRef3",
93
+ "User__c": null,
94
94
  "Status__c": "Approved",
95
95
  "Start_Date__c": "2024-10-01",
96
96
  "Employment__c": "Design Studio - UX Designer - $68,000/year",
@@ -102,7 +102,7 @@
102
102
  "referenceId": "ApplicationRef9"
103
103
  },
104
104
  "Property__c": "@PropertyRef12",
105
- "User__c": "@ContactRef3",
105
+ "User__c": null,
106
106
  "Status__c": "Rejected",
107
107
  "Start_Date__c": "2024-10-25",
108
108
  "Employment__c": "Various part-time positions - $25,000/year",
@@ -114,7 +114,7 @@
114
114
  "referenceId": "ApplicationRef10"
115
115
  },
116
116
  "Property__c": "@PropertyRef5",
117
- "User__c": "@ContactRef3",
117
+ "User__c": null,
118
118
  "Status__c": "Submitted",
119
119
  "Start_Date__c": "2024-12-10",
120
120
  "Employment__c": "Teaching - High School Teacher - $55,000/year",
@@ -1,10 +1,4 @@
1
1
  [
2
- {
3
- "sobject": "Contact",
4
- "saveRefs": true,
5
- "resolveRefs": false,
6
- "files": ["Contact.json"]
7
- },
8
2
  {
9
3
  "sobject": "Agent__c",
10
4
  "saveRefs": true,
@@ -2,10 +2,10 @@
2
2
  <CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
3
3
  <fullName>User__c</fullName>
4
4
  <deleteConstraint>SetNull</deleteConstraint>
5
- <description>The person applying (Contact record)</description>
5
+ <description>The person applying (User record)</description>
6
6
  <externalId>false</externalId>
7
7
  <label>Applicant</label>
8
- <referenceTo>Contact</referenceTo>
8
+ <referenceTo>User</referenceTo>
9
9
  <relationshipLabel>Applications</relationshipLabel>
10
10
  <relationshipName>Applications</relationshipName>
11
11
  <required>false</required>
@@ -53,7 +53,7 @@
53
53
  <enableSearch>true</enableSearch>
54
54
  <enableSharing>true</enableSharing>
55
55
  <enableStreamingApi>true</enableStreamingApi>
56
- <externalSharingModel>Private</externalSharingModel>
56
+ <externalSharingModel>Read</externalSharingModel>
57
57
  <label>Property</label>
58
58
  <nameField>
59
59
  <label>Property Name</label>
@@ -630,4 +630,80 @@
630
630
  <field>Tenant__c.Status__c</field>
631
631
  <readable>true</readable>
632
632
  </fieldPermissions>
633
+
634
+ <!-- Application Permissions -->
635
+ <applicationVisibilities>
636
+ <application>PropertyManagement</application>
637
+ <visible>true</visible>
638
+ </applicationVisibilities>
639
+
640
+ <!-- Tab Permissions -->
641
+ <tabSettings>
642
+ <tab>Agent__c</tab>
643
+ <visibility>Visible</visibility>
644
+ </tabSettings>
645
+ <tabSettings>
646
+ <tab>Application__c</tab>
647
+ <visibility>Visible</visibility>
648
+ </tabSettings>
649
+ <tabSettings>
650
+ <tab>KPI_Snapshot__c</tab>
651
+ <visibility>Visible</visibility>
652
+ </tabSettings>
653
+ <tabSettings>
654
+ <tab>Lease__c</tab>
655
+ <visibility>Visible</visibility>
656
+ </tabSettings>
657
+ <tabSettings>
658
+ <tab>Maintenance_Request__c</tab>
659
+ <visibility>Visible</visibility>
660
+ </tabSettings>
661
+ <tabSettings>
662
+ <tab>Maintenance_Worker__c</tab>
663
+ <visibility>Visible</visibility>
664
+ </tabSettings>
665
+ <tabSettings>
666
+ <tab>Notification__c</tab>
667
+ <visibility>Visible</visibility>
668
+ </tabSettings>
669
+ <tabSettings>
670
+ <tab>Payment__c</tab>
671
+ <visibility>Visible</visibility>
672
+ </tabSettings>
673
+ <tabSettings>
674
+ <tab>Property__c</tab>
675
+ <visibility>Visible</visibility>
676
+ </tabSettings>
677
+ <tabSettings>
678
+ <tab>Property_Cost__c</tab>
679
+ <visibility>Visible</visibility>
680
+ </tabSettings>
681
+ <tabSettings>
682
+ <tab>Property_Feature__c</tab>
683
+ <visibility>Visible</visibility>
684
+ </tabSettings>
685
+ <tabSettings>
686
+ <tab>Property_Image__c</tab>
687
+ <visibility>Visible</visibility>
688
+ </tabSettings>
689
+ <tabSettings>
690
+ <tab>Property_Listing__c</tab>
691
+ <visibility>Visible</visibility>
692
+ </tabSettings>
693
+ <tabSettings>
694
+ <tab>Property_Management_Company__c</tab>
695
+ <visibility>Visible</visibility>
696
+ </tabSettings>
697
+ <tabSettings>
698
+ <tab>Property_Owner__c</tab>
699
+ <visibility>Visible</visibility>
700
+ </tabSettings>
701
+ <tabSettings>
702
+ <tab>Property_Sale__c</tab>
703
+ <visibility>Visible</visibility>
704
+ </tabSettings>
705
+ <tabSettings>
706
+ <tab>Tenant__c</tab>
707
+ <visibility>Visible</visibility>
708
+ </tabSettings>
633
709
  </PermissionSet>
@@ -36,7 +36,7 @@
36
36
  <readable>true</readable>
37
37
  </fieldPermissions>
38
38
  <fieldPermissions>
39
- <editable>false</editable>
39
+ <editable>true</editable>
40
40
  <field>Maintenance_Request__c.Property__c</field>
41
41
  <readable>true</readable>
42
42
  </fieldPermissions>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom51: People</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom20: Airplane</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom40: Radar</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom25: Handshake</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom48: Wrench</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom48: Wrench</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom31: Bell</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom18: Dollar</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom18: Dollar</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom57: Check</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom46: Camera</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom24: Building</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom24: Building</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom51: People</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom18: Dollar</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom24: Building</motif>
5
+ </CustomTab>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <customObject>true</customObject>
4
+ <motif>Custom24: Building</motif>
5
+ </CustomTab>
@@ -1,44 +0,0 @@
1
- {
2
- "records": [
3
- {
4
- "attributes": {
5
- "type": "Contact",
6
- "referenceId": "ContactRef1"
7
- },
8
- "FirstName": "Jennifer",
9
- "LastName": "Anderson",
10
- "Email": "jennifer.anderson@example.com",
11
- "Phone": "(555) 123-4567"
12
- },
13
- {
14
- "attributes": {
15
- "type": "Contact",
16
- "referenceId": "ContactRef2"
17
- },
18
- "FirstName": "David",
19
- "LastName": "Rodriguez",
20
- "Email": "david.rodriguez@example.com",
21
- "Phone": "(555) 234-5678"
22
- },
23
- {
24
- "attributes": {
25
- "type": "Contact",
26
- "referenceId": "ContactRef3"
27
- },
28
- "FirstName": "Maria",
29
- "LastName": "Garcia",
30
- "Email": "maria.garcia@example.com",
31
- "Phone": "(555) 345-6789"
32
- },
33
- {
34
- "attributes": {
35
- "type": "Contact",
36
- "referenceId": "ContactRef4"
37
- },
38
- "FirstName": "James",
39
- "LastName": "Brown",
40
- "Email": "james.brown@example.com",
41
- "Phone": "(555) 456-7890"
42
- }
43
- ]
44
- }
@@ -1,9 +0,0 @@
1
- {
2
- "permsetAssignments": {
3
- "defaultAssignee": "skip",
4
- "assignments": {
5
- "Property_Management_Access": { "assignee": "currentUser" },
6
- "Tenant_Maintenance_Access": { "assignee": "currentUser" }
7
- }
8
- }
9
- }