Skip to main content
I have a lightning component that implements lightning:actionOverride how do I get the recordId of the parent when the action is triggered from a related list?
36 件の回答
  1. 2023年12月3日 14:37

    The url passed in the action overriding is base64 and url encoded.

    Here i've detailed a process to get the value. You just need to do the opposite and then you'll have a json like this:

     

    {"type":"standard__objectPage","attributes":{"objectApiName":"MyObject__c","actionName":"list"},"state":{"filterName":"Recent"}}

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000FY0qZSAT