This commit is contained in:
Christophe Coenraets 2017-10-08 22:03:14 -04:00
Родитель 439469a2e3
Коммит 7684677021
14 изменённых файлов: 49 добавлений и 550 удалений

Просмотреть файл

@ -29,15 +29,11 @@ Check out the [DreamHouse microsite](http://www.dreamhouseapp.io/) for more info
sfdx force:user:permset:assign -n dreamhouse
```
1. Import sample data
```
sfdx force:data:tree:import -u dh --plan ./data/Broker__c-Property__c-plan.json
```
By default the **Date Listed** value for all the properties is arbitrarily set to 10 days before the date of the import. You may want to change that value on a few properties to make the the charts more interesting.
1. Open the scratch org:
```
sfdx force:org:open
```
1. Select **DreamHouse** in the App Launcher
1. Click the **Data Import** tab and click **Initialize Sample Data**

Просмотреть файл

@ -1,18 +0,0 @@
[
{
"sobject": "Broker__c",
"saveRefs": true,
"resolveRefs": false,
"files": [
"Broker__cs.json"
]
},
{
"sobject": "Property__c",
"saveRefs": false,
"resolveRefs": true,
"files": [
"Property__cs.json"
]
}
]

Просмотреть файл

@ -1,100 +0,0 @@
{
"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"
}
]
}

Просмотреть файл

@ -1,382 +0,0 @@
{
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian04.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house11.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house09.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house01.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house12.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house08.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house02.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian01.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house03.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian02.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house04.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian03.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house05.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian06.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house06.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/victorian07.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house07.jpg",
"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,
"Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house10.jpg",
"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"
}
]
}

Просмотреть файл

@ -21,6 +21,7 @@
<tab>standard-Event</tab>
<tab>Heat_Map_Mock</tab>
<tab>Heat_Map</tab>
<tab>Sample_Data_Import</tab>
<tab>Bot_Command__c</tab>
<tab>standard-File</tab>
<uiType>Lightning</uiType>

Просмотреть файл

@ -49,7 +49,7 @@
<div class="container">
<div class="left">
<h1>{!v.formattedPrice}</h1>
<input class="slider" min='{!v.property.Price__c * 0.7}' max='{!v.property.Price__c * 1.3}' type='range' value='{!v.property.Price__c}'
<input class="slds-slider__range" min='{!v.property.Price__c * 0.7}' max='{!v.property.Price__c * 1.3}' type='range' value='{!v.property.Price__c}'
step="1000" onchange='{!c.onPriceChange}' oninput='{!c.onPriceInput}'/>
</div>
<div class="right">

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>38.0</apiVersion>
<apiVersion>41.0</apiVersion>
<description>A Lightning Component Bundle</description>
</AuraDefinitionBundle>

Просмотреть файл

@ -72,4 +72,9 @@
text-align: left;
padding-top: 4px;
padding-bottom: 8px;
}
.THIS lightning-slider .slds-slider__value,
.THIS lightning-slider label {
display: none;
}

Просмотреть файл

@ -1,23 +1,20 @@
<aura:component controller="PropertyController"
implements="flexipage:availableForAllPageTypes"
access="global">
<aura:attribute name="properties" type="Property__c[]"/>
<aura:attribute name="chartModel" type="Object[]"/>
<aura:attribute name="maxDaysOnMarket" type="Integer"/>
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<div>
<div class="title">
<lightning:icon iconName="custom:custom85" size="small"/>
<h3 class="slds-section__title">Properties by days on the market</h3>
</div>
<aura:component controller="PropertyController" implements="flexipage:availableForAllPageTypes" access="global">
<aura:attribute name="properties" type="Property__c[]" />
<aura:attribute name="chartModel" type="Object[]" />
<aura:attribute name="maxDaysOnMarket" type="Integer" />
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<lightning:card title="Properties by days on the market" iconName="custom:custom85">
<table>
<aura:iteration items="{!v.chartModel}" var="item" indexVar="index">
<tr>
<td class="col-address">
<div class="slds-truncate"><a data-id="{#item.id}" onclick="{!c.navigateToRecord}">{#item.address}, {#item.city}</a></div>
<div class="slds-truncate">
<a data-id="{#item.id}" onclick="{!c.navigateToRecord}">{#item.address}, {#item.city}</a>
</div>
</td>
<td class="col-days">
<div class="slds-truncate">{#item.daysOnMarket} days</div>
@ -25,9 +22,10 @@
<td>
<div class="{# 'bar ' + item.status}" data-id="{#item.id}" onclick="{!c.barClickHandler}" style="{# 'width:' + (item.daysOnMarket / v.maxDaysOnMarket * 100) + '%'}"></div>
</td>
</tr>
</tr>
</aura:iteration>
</table>
</div>
</lightning:card>
</aura:component>

Просмотреть файл

@ -55,4 +55,8 @@
width: 80px;
text-align: right;
padding-right: 6px;
}
.THIS .slds-card__body {
margin: 16px;
}

Просмотреть файл

@ -30,7 +30,7 @@
<aura:if isTrue="{!v.recordId!=undefined}">
<img src="{!v.property.Thumbnail__c}"/>
<div class="summary">
<p>{#v.property.Address__c},&nbsp;{!v.property.City__c}</p>
<p>{!v.property.Address__c},&nbsp;{!v.property.City__c}</p>
<p>{!v.property.Beds__c} bedrooms, {!v.property.Baths__c} bathrooms</p>
<p>On the market since <c:FormattedDate value="{!v.property.Date_Listed__c}"/></p>
<h3><lightning:formattedNumber value="{!v.property.Price__c}" style="currency" currencyCode="USD"/></h3>

Просмотреть файл

@ -2,9 +2,17 @@
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
<flexiPageRegions>
<componentInstances>
<componentInstanceProperties>
<name>collapsed</name>
<value>false</value>
</componentInstanceProperties>
<componentName>force:highlightsPanel</componentName>
</componentInstances>
<componentInstances>
<componentInstanceProperties>
<name>hideUpdateButton</name>
<value>false</value>
</componentInstanceProperties>
<componentName>runtime_sales_pathassistant:pathAssistant</componentName>
</componentInstances>
<mode>Replace</mode>
@ -125,6 +133,13 @@
</componentInstanceProperties>
<componentName>PictureGalleryCard</componentName>
</componentInstances>
<componentInstances>
<componentInstanceProperties>
<name>searchCriteria</name>
<value>Price</value>
</componentInstanceProperties>
<componentName>SimilarProperties</componentName>
</componentInstances>
<mode>Replace</mode>
<name>sidebar</name>
<type>Region</type>

Просмотреть файл

@ -35,14 +35,6 @@
<behavior>Edit</behavior>
<field>Tags__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Date_Contracted__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Date_Closed__c</field>
</layoutItems>
</layoutColumns>
<layoutColumns>
<layoutItems>
@ -69,22 +61,10 @@
<behavior>Edit</behavior>
<field>Date_Listed__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>OwnerId</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Broker__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Date_Pre_Market__c</field>
</layoutItems>
<layoutItems>
<behavior>Edit</behavior>
<field>Date_Agreement__c</field>
</layoutItems>
</layoutColumns>
<style>TwoColumnsTopToBottom</style>
</layoutSections>
@ -266,7 +246,7 @@
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox>
<showSubmitAndAttachButton>false</showSubmitAndAttachButton>
<summaryLayout>
<masterLabel>00hB0000000SIES</masterLabel>
<masterLabel>00h0S000000J8Mn</masterLabel>
<sizeX>4</sizeX>
<sizeY>0</sizeY>
<summaryLayoutStyle>Default</summaryLayoutStyle>

Просмотреть файл

@ -63,7 +63,7 @@
</div>
</div>
<div id="content" style="margin:20px">
<div style="padding-bottom:20px">Click the button below to iinitialize the Property, Broker, Favorite, and Bot Command objects with sample data.
<div style="padding-bottom:20px">Click the button below to initialize the Property, Broker, Favorite, and Bot Command objects with sample data.
<div style="color:red">All existing records in these objects will be deleted.</div>
</div>
<button class="slds-button slds-button--brand" onclick="initialize()">Initialize Sample Data</button>