appointments on popup

Hi I wanted to know if there is a way to have a popup trigger and have the appointments+ calendar be in the popup, I tried but just on the preview it does not seem to be working