Unable to read sobject Salesforce Lightning

Unable to read sobject Salesforce Lightning

Sample Code:

<aura:attribute name=”SampleName” type=”NameSpacePrefix__ObjectAPIName
default=”{ ‘sobjectType’:’NameSpacePrefix__ObjectAPIName‘,
‘Name’:”,
NameSpacePrefix__FieldAPIName‘: 0,
NameSpacePrefix__FieldAPIName‘:”,
}”/>

Cheers!!!

Leave a Reply