add default value for date_listed
This commit is contained in:
Родитель
ba13941946
Коммит
a60dddf476
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"sobject": "Broker__c",
|
||||
"saveRefs": true,
|
||||
"resolveRefs": false,
|
||||
"files": [
|
||||
"Broker__cs.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"sobject": "Property__c",
|
||||
"saveRefs": false,
|
||||
"resolveRefs": true,
|
||||
"files": [
|
||||
"Property__cs.json"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"records": [
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef1"
|
||||
},
|
||||
"Name": "Caroline Kingsley",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "caroline@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/caroline_kingsley.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef2"
|
||||
},
|
||||
"Name": "Michael Jones",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "michael@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/michael_jones.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef3"
|
||||
},
|
||||
"Name": "Jonathan Bradley",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "jonathan@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/jonathan_bradley.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef4"
|
||||
},
|
||||
"Name": "Jennifer Wu",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "jen@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/jennifer_wu.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef5"
|
||||
},
|
||||
"Name": "Olivia Green",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "olivia@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/olivia_green.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef6"
|
||||
},
|
||||
"Name": "Miriam Aupont",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "miriam@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/miriam_aupont.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef7"
|
||||
},
|
||||
"Name": "Michelle Lambert",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "michelle@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/michelle_lambert.jpg"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Broker__c",
|
||||
"referenceId": "Broker__cRef8"
|
||||
},
|
||||
"Name": "Victor Ochoa",
|
||||
"Title__c": "Senior Broker",
|
||||
"Phone__c": "617-244-3672",
|
||||
"Mobile_Phone__c": "617-244-3672",
|
||||
"Email__c": "victor@dreamhouse.demo",
|
||||
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/victor_ochoa.jpg"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,364 @@
|
|||
{
|
||||
"records": [
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef1"
|
||||
},
|
||||
"Name": "30 Peterborough St",
|
||||
"Address__c": "30 Peterborough St",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02215",
|
||||
"Price__c": 650000,
|
||||
"Title__c": "Character and Details",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.096371,
|
||||
"Location__Latitude__s": 42.34389,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian04sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef1"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef2"
|
||||
},
|
||||
"Name": "95 Gloucester st",
|
||||
"Address__c": "95 Gloucester st",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 690000,
|
||||
"Title__c": "Architectural Details",
|
||||
"Beds__c": 3,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.084407,
|
||||
"Location__Latitude__s": 42.349693,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house11sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef1"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef3"
|
||||
},
|
||||
"Name": "121 Harborwalk",
|
||||
"Address__c": "121 Harborwalk",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 450000,
|
||||
"Title__c": "Seaport District Retreat",
|
||||
"Beds__c": 3,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.049327,
|
||||
"Location__Latitude__s": 42.35695,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house09sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef1"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef4"
|
||||
},
|
||||
"Name": "18 Henry st",
|
||||
"Address__c": "18 Henry st",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "01742",
|
||||
"Price__c": 975000,
|
||||
"Title__c": "Stunning Colonial",
|
||||
"Beds__c": 4,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.11095,
|
||||
"Location__Latitude__s": 42.35663,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house01sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef1"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef5"
|
||||
},
|
||||
"Name": "145 Commonwealth ave",
|
||||
"Address__c": "145 Commonwealth ave",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 845000,
|
||||
"Title__c": "Luxury Redefined",
|
||||
"Beds__c": 4,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.075311,
|
||||
"Location__Latitude__s": 42.352466,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house12sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef2"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef6"
|
||||
},
|
||||
"Name": "503 Park Drive",
|
||||
"Address__c": "503 Park Drive",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 650000,
|
||||
"Title__c": "City Living",
|
||||
"Beds__c": 2,
|
||||
"Baths__c": 2,
|
||||
"Location__Longitude__s": -71.105475,
|
||||
"Location__Latitude__s": 42.3474,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house08sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef2"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef7"
|
||||
},
|
||||
"Name": "24 Pearl st",
|
||||
"Address__c": "24 Pearl st",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 1200000,
|
||||
"Title__c": "Ultimate Sophistication",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.10869,
|
||||
"Location__Latitude__s": 42.359103,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house02sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef2"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef8"
|
||||
},
|
||||
"Name": "24 Euston St",
|
||||
"Address__c": "24 Euston St",
|
||||
"City__c": "Brookline",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02446",
|
||||
"Price__c": 690000,
|
||||
"Title__c": "Historical Victorian",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.109131,
|
||||
"Location__Latitude__s": 42.348087,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian01sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef3"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef9"
|
||||
},
|
||||
"Name": "61 West Cedar st",
|
||||
"Address__c": "61 West Cedar st",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 825000,
|
||||
"Title__c": "Modern City Living",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.070061,
|
||||
"Location__Latitude__s": 42.359986,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house03sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef3"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef10"
|
||||
},
|
||||
"Name": "650 Kendall St",
|
||||
"Address__c": "650 Kendall St",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02142",
|
||||
"Price__c": 730000,
|
||||
"Title__c": "Unique Victorian",
|
||||
"Beds__c": 6,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.08064,
|
||||
"Location__Latitude__s": 42.364772,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian02sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef4"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef11"
|
||||
},
|
||||
"Name": "32 Prince st",
|
||||
"Address__c": "32 Prince st",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 930000,
|
||||
"Title__c": "Stunning Victorian",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.110448,
|
||||
"Location__Latitude__s": 42.360642,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house04sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef4"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef12"
|
||||
},
|
||||
"Name": "252 Charles St",
|
||||
"Address__c": "252 Charles St",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02141",
|
||||
"Price__c": 790000,
|
||||
"Title__c": "One of a kind",
|
||||
"Beds__c": 7,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.08592,
|
||||
"Location__Latitude__s": 42.368269,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian03sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef5"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef13"
|
||||
},
|
||||
"Name": "211 Charles Street",
|
||||
"Address__c": "211 Charles Street",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 850000,
|
||||
"Title__c": "Waterfront in the City",
|
||||
"Beds__c": 3,
|
||||
"Baths__c": 2,
|
||||
"Location__Longitude__s": -71.084454,
|
||||
"Location__Latitude__s": 42.368168,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house05sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef5"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef14"
|
||||
},
|
||||
"Name": "105 Brattle St",
|
||||
"Address__c": "105 Brattle St",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02138",
|
||||
"Price__c": 950000,
|
||||
"Title__c": "Location Location!",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 5,
|
||||
"Location__Longitude__s": -71.126194,
|
||||
"Location__Latitude__s": 42.376511,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian06sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef6"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef15"
|
||||
},
|
||||
"Name": "448 Hanover st",
|
||||
"Address__c": "448 Hanover st",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 725000,
|
||||
"Title__c": "Quiet Retreat",
|
||||
"Beds__c": 4,
|
||||
"Baths__c": 2,
|
||||
"Location__Longitude__s": -71.052617,
|
||||
"Location__Latitude__s": 42.366855,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house06sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef6"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef16"
|
||||
},
|
||||
"Name": "223 Huron Ave",
|
||||
"Address__c": "223 Huron Ave",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02138",
|
||||
"Price__c": 850000,
|
||||
"Title__c": "Recently Updated",
|
||||
"Beds__c": 4,
|
||||
"Baths__c": 3,
|
||||
"Location__Longitude__s": -71.132681,
|
||||
"Location__Latitude__s": 42.381437,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian07sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef7"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef17"
|
||||
},
|
||||
"Name": "127 Endicott st",
|
||||
"Address__c": "127 Endicott st",
|
||||
"City__c": "Boston",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 450000,
|
||||
"Title__c": "City Living",
|
||||
"Beds__c": 3,
|
||||
"Baths__c": 1,
|
||||
"Location__Longitude__s": -71.057352,
|
||||
"Location__Latitude__s": 42.365003,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house07sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef7"
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "Property__c",
|
||||
"referenceId": "Property__cRef18"
|
||||
},
|
||||
"Name": "48 Brattle st",
|
||||
"Address__c": "48 Brattle st",
|
||||
"City__c": "Cambridge",
|
||||
"State__c": "MA",
|
||||
"Zip__c": "02420",
|
||||
"Price__c": 450000,
|
||||
"Title__c": "Heart of Harvard Square",
|
||||
"Beds__c": 5,
|
||||
"Baths__c": 4,
|
||||
"Location__Longitude__s": -71.121653,
|
||||
"Location__Latitude__s": 42.374117,
|
||||
"Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house10sq.jpg",
|
||||
"Description__c": "Lorem ipsum dolor sit amet",
|
||||
"Broker__c": "@Broker__cRef8"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -55,6 +55,7 @@
|
|||
<enableSearch>true</enableSearch>
|
||||
<enableSharing>true</enableSharing>
|
||||
<enableStreamingApi>true</enableStreamingApi>
|
||||
<externalSharingModel>ReadWrite</externalSharingModel>
|
||||
<label>Property</label>
|
||||
<nameField>
|
||||
<label>Property Name</label>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
||||
<fullName>Date_Listed__c</fullName>
|
||||
<defaultValue>TODAY()</defaultValue>
|
||||
<externalId>false</externalId>
|
||||
<label>Date Listed</label>
|
||||
<required>false</required>
|
||||
|
|
Загрузка…
Ссылка в новой задаче