You need to sign in to do that
Don't have an account?
NavigatetoSobject not working in lighting
Hello friends,
When i tried navigating from the lightning app page to the record detail page, using the Aura function it fails.
Is there something i am missing here?
Your inputs are appreciated.
Thanks,
Roh
When i tried navigating from the lightning app page to the record detail page, using the Aura function it fails.
createRecord : function (component, event, helper) { var navEvt = $A.get("e.force:navigateToSObject"); navEvt.setParams({ "recordId": "00QB0000000ybNX", "slideDevName": "related" }); navEvt.fire(); }
Is there something i am missing here?
Your inputs are appreciated.
Thanks,
Roh
are you trying to naviagte to Lightning App ( apps.app) page to record detail page ? if yes so
this event is only supported in Lightning Experience and Salesforce1 only.
add your lightning component to Lightning App builder or salesforce1 tab or lightning experiences page layout and then check it
i hope it helps you
thanks
let me infrom if it helps you
http://sfdcmonkey.com
If {mobile){
use e.force:navigateToSObject}
else{
use a different function?
}
<aura:dependency resource="markup://force:navigateToSObject" type="EVENT"/>
I am trying to naviagte to record detail page in Lightning App (one.app).
Is there any way to do that?
Thanks