How frequently does the letter b appear in:
Q: Any way to pass parameters to Global or Object Specific Action Components from a button click? Assume we have a Lightning component.
<aura:component implements=force:lightningQuickAction >
    <aura:attribute name=test type=String/>

    Display dynamic text passed on button click from Global Publisher Layout or Object Specific Layout
    {!v.test}
</aura:component>
enter code here

This component is declared as a Global Action (and it is put on Global Publisher layout).

Also the same component is declared as Object-Specific Action (and it is put on corresponding Object Layout, so the button is visible).

Is there any way to pass some parameters like current viewed record Id or some other attributes of current record by a button click?

A: Looks like it is possible to pass at least RecordId
The component should implement force:hasRecordId interface and have a property
<aura:attribute name=recordId type=String />


A: To get a record Id you need to implement the force:hasRecordId interface.
One you have done this you can access the record id by: {!v.recordId}

user
The passage contains twenty-one "b"s.
assistant