function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to get parentId in jscontroller

HI All,

I have override the new button with lightning component. when I click new button from Parent Related list, I want to prepopulate the parentid in the custom component for this I want to get ParentId. I tried isurl addressable I'm able to get parentid, but its not working in the SF1. Is their any other work around.

Thanks in advance
Deepali KulshresthaDeepali Kulshrestha
Hi salesforcelearner1,

Please refer to the following link as it may be helpful in solving your problem:

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
Hi Deepali,

    Thanks for your reply. But that is not part of my requirement.

Thanks and Regards,