You need to sign in to do that
Don't have an account?
Akash Punera
Not getting record id in New task action override salesforce1 mobile app
I have overriden new task button with a custom component, when opening in lightning it is able to get the record id whereas same component in Mobile app is returning 'Undefined'.
This is a basic version of the code for reference.
COMPONENT: <aura:component implements="force:hasRecordId,lightning:actionOverride" access="global"> <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> </aura:component> CONTROLLER: ({ doInit : function(component, event, helper) { alert(component.get("v.recordId")); } })
This is a basic version of the code for reference.