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
Nandhini S 3Nandhini S 3 

How to display lookup field in flow datatable

Hi,

I'm trying to display related record using screen flow. I have used datatable in flow but it's displaying id for lookup fields. How to display record link in the lookup fields.
VinayVinay (Salesforce Developers) 
Hi Nandhini,

To display all the selected rows in a display text component, you will have to loop through the selected records and add the values to a resource. You can then use that resource in the display text component for lookup.

https://www.tether.ie/using-lookup-component-on-screen-flow/
https://www.asagarwal.com/step-by-step-guide-to-using-data-table-in-salesforce-flow/

Please mark as Best Answer if above information was helpful.

Thanks,
Nandhini S 3Nandhini S 3
Hi Vinay,

I tried using datatable, but the lookup fields are displayed as Ids. I need it to be displayed as link which will take the user to the record.