Smart Field -> replace foreign key text by another data in the foreign element

Hey guys :slight_smile:

I have a foreign key in my data foo which points to a parent bar that has an ID equal to abc123. In my interface, I can see a field parent with the given ID displayed abc123 that is an hyperlink pointing to the given item in mongodb.

The thing is, I would like to replace the displayed id abc123 (I only want to change the text but not the hyperlink. I want the hyperlink to stay still) by bistro which is the name of the bar (the parent) element related to this ID :slight_smile:

Is it possible?

Thanks

1 Like

Hi @Emixam23 :wave: you can simply go to the settings of your parent collection and chose a reference field.


let me know if it help.