You need to sign in to do that
Don't have an account?
pradeep kumar yadav
Parameter Not working in lightning?
document.getElementById("ancherId").href = '/' + idArray[i]+'?isToastVisible=true';
In classic ApexPages.currentPage().getParameters().get('isToastVisible'); gives result
But , in case of lightning 'isToastVisible' is not showing in url and ApexPages can't access it.
Can anyone tell reason and give other solution.
In classic ApexPages.currentPage().getParameters().get('isToastVisible'); gives result
But , in case of lightning 'isToastVisible' is not showing in url and ApexPages can't access it.
Can anyone tell reason and give other solution.
Hi Pradeep,
Please create a component with HasRecordId and pass this as parameter to contorller.
Use reference:https://developer.salesforce.com/forums/?id=906F0000000BawjIAC
Thanks,
Gaurav