Skip to main content

I have built a lighting component that displays a list of group_structures which are related to the account.  I want to launch that component from a button from the account and pass the account ID to the component so I only see the group_structures that are related to the account.  I tried to create a quick action but failed miserably.  I'm also not sure about the force:hasRecordId on my component and how that translates into what I am trying to do.  I want to filter based on the account id and not the group structure id.  Any help would be greatly appreciated!!! thanks!!!!  Fred

1 comentário
  1. 12 de out. de 2018, 21:56
    hasRecordId needs attribute defined in your component as recordId to be used by your controller to do logic by that ID. This only applies to components designed for Record pages, does not work for a general page! You need to pass that ID to your Apex controller that does your Group logic code to filter by. Hope this helps
0/9000