You need to sign in to do that
Don't have an account?
Patryk Żak
Object specific Quick Action without modal popup
Hi!,
I wan't to make a quick action button on an Object, but on click I just need to fire a background record update without oppening modal. Is it possible? Something to prevent opening modal. For now I simply created an Action Button based on VisualForce page, a confirmation button inside to update the record and close modal with success message.
I wan't to make a quick action button on an Object, but on click I just need to fire a background record update without oppening modal. Is it possible? Something to prevent opening modal. For now I simply created an Action Button based on VisualForce page, a confirmation button inside to update the record and close modal with success message.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_closeQuickAction.htm?search_text=quick
This event is handled by the one.app container. It’s supported in Lightning Experience and the Salesforce app only.
Hopes it helps you
Let me know if it helps you, and kindly close your answer with choosing best answer if you got your solution
Thanks
https://nickserafin.com/2017/08/23/lightning-quick-action-button-opening-lightning-component/ (https://nickserafin.com/2017/08/23/lightning-quick-action-button-opening-lightning-component/ )
follow the above link, good work around.
<aura:component>
<aura:html tag="style">
.slds-modal {
visibility: hidden;
display: none;
}
.slds-backdrop{
display: none;
}
</aura:html>
<aura:handler name="init" value="{! this }" action="{!c.doInit }"/>
</aura:component>
--------------- Aura Controller JS---------------------
doInit: function (component, event, helper) {
$A.get("e.force:closeQuickAction").fire();
var evt = $A.get("e.force:navigateToComponent");
evt.setParams({
componentDef : "c:methodName",
componentAttributes: {
recordId : component.get("v.recordId")
}
});
evt.fire();
},
I have implemented the same code, but still I am getting the popup...could you please help me to resolve this