You need to sign in to do that
Don't have an account?
mukesh gupta
Remote Objects in lightning component instead of VF page
Hi Expert,
I want to use Remote Objects in lightning component , below code is working in visualforce pages, but now i need to implement this code in lightning component.
for example:-
<!-- Remote Objects definition to set accessible sObjects and fields -->
<apex:remoteObjects >
<apex:remoteObjectModel name="Warehouse__c" jsShorthand="Warehouse"
fields="Name,Id">
<apex:remoteObjectField name="Phone__c" jsShorthand="Phone"/>
</apex:remoteObjectModel>
</apex:remoteObjects>
Thanks
Mukesh
I want to use Remote Objects in lightning component , below code is working in visualforce pages, but now i need to implement this code in lightning component.
for example:-
<!-- Remote Objects definition to set accessible sObjects and fields -->
<apex:remoteObjects >
<apex:remoteObjectModel name="Warehouse__c" jsShorthand="Warehouse"
fields="Name,Id">
<apex:remoteObjectField name="Phone__c" jsShorthand="Phone"/>
</apex:remoteObjectModel>
</apex:remoteObjects>
Thanks
Mukesh
refer this link
https://trailhead.salesforce.com/en/content/learn/modules/lightning_data_service/lightning_data_service_get_started