You need to sign in to do that
Don't have an account?

force.com site not working in lightning runtime
I created a flow and added it to a visualforce page so i can use it on a force.com site as a web form. Some of my input fields are lightning components, so when i go to the site the fields that have the lightning components gives me the dredged "We can’t display component 'flowruntime:phone', because it isn't supported in Classic runtime. Ask your Salesforce admin to distribute this flow in Lightning runtime instead".
I tried creating the following aura component and added it to my visualforce page, but now I get a blank screen when i click on my site link even in view as a admin. Any help with this would be greatly appreciated.
Aura Component:
Visualforce Page:
I tried creating the following aura component and added it to my visualforce page, but now I get a blank screen when i click on my site link even in view as a admin. Any help with this would be greatly appreciated.
Aura Component:
<aura:application access="global" extends="ltng:outApp" > <aura:dependency resource="lightning:flow"/> </aura:application>
Visualforce Page:
<apex:page showHeader="false" sidebar="false" lightningStylesheets="true" standardStylesheets="false" standardController="SP_Application__c" > <html> <head> <apex:includeLightning /> </head> <body class="slds-scope"> <div id="flowContainer" /> <script> $Lightning.use("c:lightningOutApp", function() { // Create the flow component and set the onstatuschange attribute $Lightning.createComponent("lightning:flow", {"onstatuschange":statusChange}, "flowContainer", function (component) { // Start an interview in the flowContainer div, and // initializes the input variables. component.startFlow("Service_Provider_Application", inputVariables); } </script> </body> </html> </apex:page>

Debug Log

Got any solution for this ?