Skip to content

Custom Action Not working - Error Invalid event name - cannot identify event #80

Description

@tharrington

I have created a custom action in accordance with this ticket:

#27

<aura:event type="APPLICATION" access="global" description="CloseCaseCustom"/>

And I am utilizing metadata to setup this grid:


 {
          "attributes": {
            "type": "sortablegrid__SDG_Action__c"
          },
          "sortablegrid__SDG__c": null,
          "Id": null,
          "Name": "Close Incident",
          "sortablegrid__Action_Order__c": 2,
          "sortablegrid__Action_Type__c": "Row Button",
          "sortablegrid__Event__c": "e.c:CloseCaseCustom.evt",
          "sortablegrid__Event_Payload__c": "{\"recordId\":\"#Id#\"}",
          "sortablegrid__Requires_Createable__c": false,
          "sortablegrid__Requires_Deletable__c": false,
          "sortablegrid__Requires_Editable__c": true,
          "sortablegrid__Icon__c": "action:close"
        }

However, I am receiving the error:

Error Invalid event name - cannot identify event

e.force:editRecord and other standard actions work as expected.

As you can see I have marked the event as global.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions