I have this below lightning component from where I am calling a lightning web component. This lightning component is called from quick action. I need to print this content as pdf.

When I click the button, the quick action page overflows with the object detail page.

I have a restriction that I cannot use VF page.

Lightning Component

<aura:component implements="force:lightningQuickAction,force:hasRecordId">
    <lightning:button label="Print To PDF" title="Print To PDF" onclick="{! c.myAction }"/>
    <c:TestLWC recordId="{!v.recordId}"/>

Controller -

    myAction : function(component, event, helper) {

Thanks for help

  • What does you mean when you say quick action page overflows with the object detail page? May 29, 2019 at 13:29
  • Means when the print page opens, i can see the object details page and the quick action modal has got transparent... May 29, 2019 at 13:32


You must log in to answer this question.