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
VSK98VSK98 

How to convert the String attribute to Lookup attribute in lightning

Hello All,

I have a requirement like this, 

As of now, we are displaying Text(String) and the Biz wants to convert into the Lookup. The Data we getting from third-party DB, not from Salesforce. Is it Possible?

Regards,
VSK98
Anant KamatAnant Kamat
Are you showing the data directly from third-party DB in lightning component or you are storing the data in some object currently. If you are using object to store the data, then you need to change the Datatype of the field and use it in your component.