A new avenue for making porous frameworks has been developed by borrowing an idea from molecularly imprinted polymers (MIPs). In lieu of the small molecules commonly used as templates in MIPs, soft metal components, such as CuI, are used to orient the molecular linker and to leverage the formation of the network. Specifically, a linear dicarboxylate linker with thioether side groups reacted simultaneously with Ln(3+) ions and CuI, leading to a bimetallic net featuring strong, chemically hard Eu(3+) -carboxylate links, as well as soft, thioether-bound Cu2 I2 clusters. The CuI block imparts water stability to the host; with the tunable luminescence from the lanthanide ions, this creates the first white-emitting MOF that is stable in boiling water. The Cu2 I2 block also readily reacts with H2 S, and enables sensitive colorimetric detection while the host net remains intact.