Remote 3 and IR Learning/button assignment

Had all sorts of trouble adding activities and them showing up on R3 but a factory reset really helped. I’ve added a couple of activities successfully. Now I’m trying to map DTV Genie codes to R3. Nothing is working. When it did work, it was the wrong code applied to the R3 button. Rebooted R3 and dock and no joy. Tried IR learning but when I held the DTV remote up to Dock, it never learned. Not sure what to try next.