On television, she portrayed Dr. Claire Morton on the prime-time adaption of ABC's Peyton Place. In 1971, Hartley had a guest appearance with Glenn Corbett on the Gunsmoke episode "Phoenix." In 1973 she appeared as divorcee Marilyn Dietz on The Bob Newhart Show, and in Disney's The Mystery in Dracula's Castle. In 1974, she guest-starred in the "Moran's the Man" episode of Paul Sand in Friends and Lovers. She also guest-starred in the "Zero" episode of Emergency!. In 1975, she appeared on McCloud, starring Dennis Weaver, titled "Lady on the Run." In 1976, she played a widow on Little House on the Prairie episode 43, "For My Lady". In 1978, she appeared in the television series Logan’s Run (based on the film of the same name) and in CBS's The Incredible Hulk in two episodes. As Dr. Carolyn Fields, she marries Bill Bixby's character, the alter ego of the Hulk; for her performance, Hartley won an Emmy Award. In 1979, she appeared in an episode of The Rockford Files titled "Paradise Cove" (Season 6, Episode 1, No. 112 in the Series, first aired September 28, 1979) as Althea Morgan, the Court appointed Receiver.