OptionalentityEntity name (required for Record type). The exact entity name as defined in MJ metadata. Examples: "Customers", "MJ: AI Agent Runs", "Contacts" Only used when resourceType is 'Record'.
OptionaliconOptional Font Awesome icon class to display on the button. Examples: "fa-user", "fa-chart-line", "fa-file-alt"
OptionalkeysComposite (or explicit) primary-key fields for Record type.
Keys are entity field names from metadata. When present, these win per field
over resourceId. Use this when the entity PK is not a single ID.
Button label shown to the user. Should be clear and action-oriented (e.g., "Open Customer Record", "View Dashboard").
OptionalmodeMode for opening the resource. Only applies to Record type.
OptionalparametersOptional parameters to pass to the resource. Used for reports (report parameters) and dashboards (filters).
OptionalresourceID of the resource to open.
For Record type with a single primary key: that key's value (entityName is separate).
For other types: The resource identifier (dashboard ID, report ID, etc.).
Optional on Record when keys supplies the primary key.
Type of resource to open.
Command type identifier
Command to open a resource in the MemberJunction UI.
This command navigates the user to a specific resource (record, dashboard, report, form, etc.) within the application.
Example: Opening a record
Example: Opening a dashboard