function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Agnibha Chakrabarti 10Agnibha Chakrabarti 10 

How to make a lookup input in lightning component and store it in object

Hi,
I have to replicate the New Case to create a new case in lightning component. I have to create look up input box in that page.
and Store the value in case object after clicking the Save button.

Can anybody help me with the creation of lookup input field and storing it into the Case object?

Thanks
Best Answer chosen by Agnibha Chakrabarti 10
Devi ChandrikaDevi Chandrika (Salesforce Developers) 

Hi,
To create lookup input field in lightning we have to create custom lightning component.
Please refer below links which might help you with this
http://www.jitendrazaa.com/blog/salesforce/lookup-component-in-salesforce-lightning/
http://sfdcmonkey.com/2017/07/17/re-usable-custom-lookup/
https://developer.salesforce.com/blogs/developer-relations/2015/06/salesforce-lightning-inputlookup-missing-component.html

Here is an idea to vote on this
https://success.salesforce.com/ideaView?id=08730000000Dom1AAC

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards

All Answers

Devi ChandrikaDevi Chandrika (Salesforce Developers) 

Hi,
To create lookup input field in lightning we have to create custom lightning component.
Please refer below links which might help you with this
http://www.jitendrazaa.com/blog/salesforce/lookup-component-in-salesforce-lightning/
http://sfdcmonkey.com/2017/07/17/re-usable-custom-lookup/
https://developer.salesforce.com/blogs/developer-relations/2015/06/salesforce-lightning-inputlookup-missing-component.html

Here is an idea to vote on this
https://success.salesforce.com/ideaView?id=08730000000Dom1AAC

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards

This was selected as the best answer
narinder singh 37narinder singh 37
thanks for this valuable information. How Long Is A Minecraft Day (https://flymwac.com/how-long-is-a-minecraft-day/)  Linus Tech Tips Net Worth (https://flymwac.com/linus-tech-tips-net-worth/)  The Nicest Place On The Internet