Thank you for the help! I made a slight alteration:
url = TEXT
url {
typolink.parameter = TEXT
typolink.parameter.field = pid
}
I removed "typolink.insertData = 1" as I was not sure that it was needed in this case? If it is best practice, please let me know and I will put it back in place.
Best Regards,
Robert