You need to sign in to do that
Don't have an account?
BobP
lightning runtime not working on force.com site
I created a flow and added it to a visualforce page so i can use it on a force.com site to use 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".
Is there a way to activate lightning runtime on my force.com site or visualforce page so these fields work on my site?
Is there a way to activate lightning runtime on my force.com site or visualforce page so these fields work on my site?
Greetings to you!
According to Salesforce doc:
By default, when you embed a flow in a Visualforce page, the flow renders in Classic runtime. Like its name suggests, Classic runtime looks and feels like regular Visualforce pages and the Salesforce Classic desktop experience. If you want your flow to render in Lightning runtime in your Visualforce page, embed the flow Aura component to your Visualforce page.
Please refer to the below links which might help you further with the above requirement.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_flows_lightningruntime.htm
https://salesforce.stackexchange.com/questions/201278/flow-in-visualforce-page-not-displaying-in-lightninglooks-like-classic
https://developer.salesforce.com/forums/?id=9060G000000BhIoQAK
https://help.salesforce.com/articleView?id=flow_distribute_runtime.htm&type=5
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas