Can i refer Record Selector's value instead of linked reference ID?

Hi, idea was to add IFrame to record page - with dynamic content based on displayed value of Record Selector’s field. Is there any posibility to refer this value directly instead of getting pure reference ID? Sure I can add additional field to generate and store URL, just curious is there an easier way.