On television, Margotta appeared in a 1968 episode of, "I Dream of Jeannie" as a character named Harold in the episode, "The Guru" as a strung out hippie. Margotta also played a youthful Butch Cassidy, originally surnamed Parker, in the syndicated television series Death Valley Days, hosted by Robert Taylor. In the story line, the 16-year-old Parker, rebellious against his father, Maxy Parker (Russ Conway) and his bishop, played by william Zucker, takes the name of a much older rustler acquaintance, Mike Cassidy (Tony Russel) and sets forth for Salt Lake City in search of riotous living. The episode aired the same year as the film Butch Cassidy and the Sundance Kid.