Closed xdefos closed 1 month ago
@xdefos I shall have a look at this asap.
@xdefos I preferred not to touch the init logic of the sfpegListCmp component and implemented a very simple wrapper component for this (see sfpegOnDemandListCmp component in the example folder).
It offers exactly the same configuration capabilities, presenting only a card with the configured title and an expand icon button by default, actually displaying the sfpegListCmp only once user clicks on the icon button.
Please try it and tell me if it meets your needs or if you have additional remarks.
In the App. Builder
Default Closed/Unloaded State
Expanded State
🙂 Example with the sfpegOrgLimits sfpegList configuration (see example section)!
@xdefos I shall close this issue as I provided a solution meeting your requirements (even though not directly on the sfpegListCmp component).
Is your feature request related to a problem? Please describe. No
Describe the solution you'd like I'm using the List component and I'd like it not to execute SOQL queries on display. I'd like this to be done on user click. In fact, I have a page that already has a large ETP and I don't want to make it any heavier. Do you have any configuration ideas to address this need?
Describe alternatives you've considered One option would be to have conditional display on a Boolean field on the record or the user to display the list vs a field change action button.
Additional context In my use case, I'm using a List with an Apex CTL to fetch and merge SOQL queries in Custom Object and External Object