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"
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).
ID of the resource to open. For Record type: Just the ID value (entityName is separate) For other types: The resource identifier (dashboard ID, report ID, etc.)
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