Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionality to show Indicators based on Child related records #103

Open
tschug opened this issue Dec 10, 2022 · 2 comments
Open

Functionality to show Indicators based on Child related records #103

tschug opened this issue Dec 10, 2022 · 2 comments
Labels

Comments

@tschug
Copy link
Contributor

tschug commented Dec 10, 2022

Currently, we are using the getRecord and getFieldValue from lightning/uiRecordApi to retrieve the current record's field data (including parent records).

Today, for child records, the recommendation is to leverage rollup summaries and DLRS to display aggregate values as Indicators.

Maybe we consider an additional feature to leverage the getRelatedListRecordsBatch or getRelatedListRecords to easily grab the child records (only one level deep is likely the most manageable). We could then iterate through those and display indicators as well?

I think we need to build up a solid use-case to warrant the effort, but things that come to mind are:

  • Has ever a Contact ever attended a certain event?
  • Does an Opportunity contain a certain product?
@JodieM
Copy link
Contributor

JodieM commented Dec 10, 2022

Oh I love the idea. But yes it's a fair bit of work. I have some other ideas too that I need to write up after using it for real.

@nzgonjanin
Copy link

We may explore to use APEX SOQL aggregate queries script and build extension process for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants