Afternoon,
I'm hoping someone can point me in the right direction.
I have a PCF in a Model Driven app that displays fields from an unrelated record. The fields display correctly but i'm trying to recreate the experience of a lookup field. So far I have been able render the below using the 'Link' component in the Fluent UI, which looks correct but the link itself currently doesn't lead anywhere :).

Below is the snipping of the typescript being used to display this.

I'd like to get this URL to lead directly to the record that is selected in the lookup. In the index.ts I am getting the EntityName, Name & ID that can be used. I'd like to make it dynamic to the environment its present in so i'm not hardcoding the org and app id.
I'm thinking I could call 'Xrm.Navigation.openForm' using these values in the '<Link' but have been unable to add anything but a string value.
Any help or pointers would be much appreciated.
Thanks!!!