function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Estevao SantosEstevao Santos 

How to display a flow within a popup in the community

I'm using aura to create a popup in my community. I would like to display a flow previously configured within this popup, however I am having trouble coding and I still haven't found anything to help me.

<div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
         <!--space reserved for flow-->
         <div class="slds-m-around_medium">
             <lightning:buttonIconStateful iconName="utility:like" selected="{! v.liked }"    onclick="{! c.handleLikeButtonClick }" alternativeText="Like" />
         </div>
</div>
Can anyone help me how to solve this problem?
VinayVinay (Salesforce Developers) 
Hi,

Below is sample snippet.
 
<div class="slds-modal__container">
<header class="slds-modal__header slds-modal__header_empty">
<lightning:buttonIcon iconName="utility:close" class="slds-modal__close" onclick="{!c.closeFlowModal}"/>
</header>
<div class="slds-modal__content slds-p-around_medium">
<lightning:flow aura:id="flow" onstatuschange="{!c.closeModalOnFinish}" />
</div>
</div>

References:
https://developer.salesforce.com/forums/?id=9060G0000005Z2NQAU
https://developer.salesforce.com/forums/?id=9060G000000ICfPQAW
https://salesforce.stackexchange.com/questions/246916/display-popup-modal-on-browser-close-on-community/247180

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
raju biswasraju biswas
awesome query but I think I have no idea so I just say something my post details it's not your answer but I just share my post for enjoy  हिंदी शायरी लिखा हुआ दोस्ती (https://www.topics-guru.com/2020/06/dosti-shayari-in-hindi.html)