ah yea ok so we did something like that.
for item records, we wanted the View Record page to have the URL Component be a clickable hyperlink.
so our Client Script did the logic to get the field value of urlcomponent and create a hyperlink.
the user event script is a 1 liner that loaded the client script