Skip to main content
Peter Enrite 님이 #Lightning Experience에 질문했습니다
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일 오후 2: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

0/9000