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

SALTO-6172 - Salesforce: extract references from certain LightningPage fields #6392

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tomsellek
Copy link
Contributor

@tomsellek tomsellek commented Aug 12, 2024

LightningPage.flexiPageRegions.itemInstances.componentInstances.componentInstanceProperties may contain references to QuickAction when the name value is "actionNames".
e.g.

salesforce.LightningPage SomePage {
  flexiPageRegions = [
    {
      itemInstances = [
        {
          componentInstance = {
            componentInstanceProperties = [
              {
                name = "actionNames"
                valueList = {
                  valueListItems = [
                    {
                      value = "Global.NewTask"
                    },
                    {
                      value = "Opportunity.SomeQuickAction"
                    },
                ]
            }
    ...

This PR is built on top of #6216
Tests: Created a Lightning page with a global QuickAction and verified it becomes a reference after a fetch.
Workspace diff: https://github.com/salto-io/tomsellek-sf-6172/pull/1/files


Release Notes:
Salesforce: Will now generate more references from LightningPage elements


User Notifications:
Salesforce: Will now generate more references from LightningPage elements

@coveralls
Copy link

coveralls commented Aug 12, 2024

Coverage Status

coverage: 93.804% (-0.006%) from 93.81%
when pulling f689e80 on tomsellek:tom-sellek.SALTO-6172.formula-refs-from-lightningpage
into aa88efd on salto-io:main.

@tomsellek tomsellek force-pushed the tom-sellek.SALTO-6172.formula-refs-from-lightningpage branch from 10b8ff0 to f689e80 Compare August 12, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants