Sensors with Integrated Magnetic Holding Force