LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Lookup - create new

Open danhowellnz opened this issue 6 years ago • 4 comments

Idea: Add an option for "New XXXX" like normal lightning lookups. If that is pressed it can do: $A.get("e.force:createRecord");

danhowellnz avatar Dec 03 '18 05:12 danhowellnz

This is a great idea. I used to do something similar in Classic. Right now I handle new record creation in my Flows by checking for a blank selection and calling another Lightning Component to create a new record. I have an idea or two on something that could work for this. Stay tuned.

ericrsmith35 avatar Dec 04 '18 00:12 ericrsmith35

This is a great idea. I used to do something similar in Classic. Right now I handle new record creation in my Flows by checking for a blank selection and calling another Lightning Component to create a new record. I have an idea or two on something that could work for this. Stay tuned.

@ericrsmith35 Hi Eric . . .Any examples available of how you handle the new record creation? Or plans to add new record functionality to the lookup component?

jflorianrel avatar May 12 '23 13:05 jflorianrel

In a screen flow, you could add a custom "Create New Record" button and conditionaly expose a section on your screen where you would collect the field data you need for a new record.

ericrsmith35 avatar May 16 '23 16:05 ericrsmith35

Close to getting out the new lwc lookup which has this... #1350

AndyHaas avatar May 16 '23 18:05 AndyHaas