after close actions for calendar popup

  • 1
  • Question
  • Updated 2 months ago
  • Answered
Is there a way to trigger actions on close of calendar popup? It seems like "After Close Actions" are only available for regular popups, and not calendars?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Josef Lagorio

Josef Lagorio

  • 2,852 Points 2k badge 2x thumb
This has probably been answered, but for those looking for the this just as I was, you can modify the XML like below for your calendar popup. 

<onclickpopup title="Edit Event" width="45%" showdefaultbuttons="true">
<components>
    <includepanel type="skuid" uniqueid="sk-99B_q-232" pagename="Presales_Event_Manager_CalendarEventPopUp" module="" querystring="id={{Id}}" cssclass=""/>
/components>
 <afterclose>
     <action type="requeryModel" model="Calendar_Events" behavior="standard"/>
 </afterclose>
</onclickpopup>
Photo of Mike Dwyer

Mike Dwyer

  • 3,390 Points 3k badge 2x thumb
Can this get promoted to a suggestion, that the after-close framework be exposed in the designer (page builder)?