1// myComponent.js
2get inputVariables() {
3 return [
4 { name: 'numVar', type: 'Number', value: 30 },
5 { name: 'dateColl', type: 'String', value: [ '2016-10-27', '2017-08-01' ] },
6 // Sets values for fields in the account record (sObject) variable.
7 // Id uses the value of the accountId property. Rating uses a string.
8 { name: 'account', type: 'SObject', value: {
9 'Id': this.accountId,
10 'Rating': 'Warm'
11 }},
12 // Set the contact record (sObject) variable to the value of the contact property.
13 // We're assuming the property contains the entire sObject for a contact record.
14 { name: 'contact', type: 'SObject', value: this.contact }
15 ]
16}