SFDO-Community / declarative-lookup-rollup-summaries

Declarative Lookup Rollup Summaries (DLRS) is a community built and maintained Salesforce application that allows you to create cross object roll-ups declaratively - no code! For install instructions and documentation, visit our website https://sfdo-community-sprints.github.io/DLRS-Documentation/
https://sfdo-community-sprints.github.io/DLRS-Documentation/
BSD 3-Clause "New" or "Revised" License
696 stars 238 forks source link

Improvements to New Wizard - Replace global describe #1277

Closed sfenton3 closed 5 months ago

sfenton3 commented 1 year ago

Is your feature request related to a problem? Please describe. The new wizard makes extensive use of the global describe to get the relationship between objects dynamically. This is a considerable performance hit - load time is upward of 4-5 seconds on object heavy orgs.

Describe the solution you'd like Implement an algorithm that only searches for the top 50-100 standard objects and all custom objects. We can then implement an optional feature to type in the exact parent and child relationships.

Describe alternatives you've considered We can move to LWC and use the components that are prebuilt to filter results in the object describe. This would take advantage of the performance improvement that come with LWC.

Additional context We need to improve the performance of the new wizard. Is the global describe needed to generate the list or could we a SOQL query with the entitydefinition object?

aheber commented 5 months ago

New LWC wizard is available starting v2.21