+ Start a Discussion
Nevin O'Regan 3Nevin O'Regan 3 

Custom Buttons On Custom Components

I have created custom buttons which I would only make available based on the Contact.Type field value selected. Is it possible to create a custom component where I can group these buttons?
AmanSharma06AmanSharma06
You can use <lightning:buttonGroup> to group custom/standard buttons. below is the code snippet 
<aura:component>
   <div class="slds-grid slds-wrap">
        <div class="slds-col slds-medium-size_3-of-4">
            <span>My Actions</span>
       </div>
       <div class="slds-col slds-medium-size_1-of-4">
           <lightning:buttonGroup>
            <lightning:button label="Action 1"/>
            <lightning:button label="Action 2"/>
            <lightning:button label="Action 3"/>
           </lightning:buttonGroup>
       </div>
    </div>
</aura:component>
Nevin O'Regan 3Nevin O'Regan 3
Thanks Aman,

The buttons in question are Conga buttons. Can I just reference the button API name where you have <lightning:button label"Action 1"/>?
Sanjay Bhati 95Sanjay Bhati 95
Hi Nevin O'Regan 3,

Conga is a managed package. So you can't add condition on that button.You can not made any changes in Manage Package components.

Thanks 
Sanjay Bhati