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
Spencer BerkSpencer Berk 

VF page pulled into a Lightning Component which is then placed into a Screen flow is not working?

I have a Visual Force page pulled into a Lightning Component. I have then placed the Lightning Component in a Screen flow. This flow works when I debug but when I place the flow on a public community page, the Screen with the Lightning Component recieves a "Content is blocked" error message. Any ideas on why this works when I debug but not on my public community page?

VF Page:
<apex:page >
    <!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/testfinancialplanning/my-financial-coach-consultation-meeting" style="min-width:320px;height:630px;"></div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<!-- Calendly inline widget end -->
</apex:page>

Lightning Component:
<aura:component implements="forceCommunity:availableForAllPageTypes,lightning:availableForFlowScreens" access="global">
    <iframe src="https://myfinancialcoach--community--c.visualforce.com/apex/CalendlyTEST" width="100%" height="500px;" frameBorder="0"/>
</aura:component>

 
Deep MalaDeep Mala
Is controller in vf having data security? 
Spencer BerkSpencer Berk
I do not have data security in my controller. The code provided is literally all the code I have for the Lightning component and VF page.

I've added the VF page to the "Enabled VisualForce Page Access" on the Community Guest User profile.
I've also checked the "Available for Lightning Experience, Lightning Communities, and the mobile app" box on the VF page.

When I add just the VF page to the public community page it works but when I add the Screen Flow with the Lightning Component with the VF page I get the "Content is blocked" error message.