I am trying to create "Lightning App Page" for Salesforce1 which has buttons for
"New Opportunity", "New Meeting", "New Contact" and "New Account"
I managed to place the button but, not sure which url it should call to create new records in lightning.
I have tried classic new record URL but it's calling classic experience from Salesforce1 App.
Please assist.
1 条评论
You need to use standard force:create record event when you click the buttons.
In force:create event pass the object type your want to create... Chk below:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_createRecord.htm