Has anyone ever embedded a flow wizard in a Lightning Component? In a nut-shell, what I'd like to do is make that flow available from a public website. I was thinking that I'd use Lightning Out and place it on the website, but I have about zero knowledge of Lightning Components and I can't seem to find anything conclusively confirming or denying that this is possible, let alone how it can be done. The goal is to make this available on all platforms to any visitor of the site.
So I have two questions:
- Is this possible? And if so, how?
- Is there a better alternative? If there's a better way to do this, I'm open to it, if it will meet our needs.
I'd be appreciative of any help that I can get.
Thanks in advance!
Parker
Haven't tried it yet.
1) Is it possible?
It depends on the objects you want to update. The public Community User (same as with Public Site Guest User) cannot access or write all objects. Youd to need to check that first.
2) For debugging purposes, lightning out requires some lightning development knowledge. Id have to check if the flow cmp can be used in global context at all.
I'd suggest first trying to achieve the same using visualforce and an embedded flow and see how far you get with it on a public facing domain.
There's also a doc on that:
https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_distribute_external.htm