FavoritGorav Seth (Ashoka) (Ursprünglich gepostet von Gorav Seth)11. Dez. 2017, 22:51Gorav SethBeen having some fun w the new winter18 ability to embed lightning flow components in visualforce pages, which gives us the ability to: a) use lightning runtime with flows embedded in visualforce pages (and therefore return user to record created in flow with lightning runtime)b) get output variables from flow without a custom controller (so can return user to record created in flow without any apex! javascript and a lightning bundle required but its not that bad) i assume we can also pass variables to the flow, but...javascript. not very strong on that. so here are a couple of articles on what i was able to do set flow finish behavior w/out custom controller:http://goravseth.com/setting-flow-finish-behavior-without-a-custom-controller use a flow with lightning runtime in a chatter subtab app http://goravseth.com/chatter-profile-tab-to-update-user-fields whats cool is that you really just need one lightning app bundle to display any number of flows, as you set which flow to pull in on the vf page. the styling might be the only issue - but you can probably set that on the vf page itself in which case its pretty much build once use forever.Mehr anzeigenKommentar hinzufügenKommentar schreiben...FettKursivUnterstreichenDurchstreichenListe mit GliederungspunktenNummerierte ListeLink hinzufügenCodeblockBild einfügenDateien anhängenLink-URLAbbrechenSpeichern0/9000Antworten
Gorav SethBeen having some fun w the new winter18 ability to embed lightning flow components in visualforce pages, which gives us the ability to: a) use lightning runtime with flows embedded in visualforce pages (and therefore return user to record created in flow with lightning runtime)b) get output variables from flow without a custom controller (so can return user to record created in flow without any apex! javascript and a lightning bundle required but its not that bad) i assume we can also pass variables to the flow, but...javascript. not very strong on that. so here are a couple of articles on what i was able to do set flow finish behavior w/out custom controller:http://goravseth.com/setting-flow-finish-behavior-without-a-custom-controller use a flow with lightning runtime in a chatter subtab app http://goravseth.com/chatter-profile-tab-to-update-user-fields whats cool is that you really just need one lightning app bundle to display any number of flows, as you set which flow to pull in on the vf page. the styling might be the only issue - but you can probably set that on the vf page itself in which case its pretty much build once use forever.Mehr anzeigen