收藏Gorav Seth (Ashoka) (原发帖者 Gorav Seth)2017年12月11日 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.显示更多添加评论撰写评论...粗体斜体下划线删除线项目符号列表编号列表添加链接代码块插入图像附加文件链接 URL取消保存0/9000回复
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.显示更多