The rigid and planar tetracarboxylic acid 5,5'-(1H-2,3,5-triazole-1,4-diyl)diisophthalic acid (H4L), incorporating a triazole group, has been used with no or different pyridine-based linkers to construct a family of d(10) coordination polymers, namely, {[H2N(CH3)2]3[Cd3(L)2(HCOO)]}n (), {[Cd2(L)(py)6]·H2O}n (), {[H2N(CH3)2] [Cd2(L)(HCOO)(H2O)4]}n (), {[Zn(H2L)]·H2O}n (), and {[Zn(H2L)(4,4'-bipy)0.5]·C2H5OH·H2O}n () (py = pyridine, 4,4'-bipy = 4,4'-bipyridine). constructs a 3D porous network containing two kinds of channels: one is filled with coordinated HCOO(-) anions, and the other with [H2N(CH3)2](+) cations. The framework of can be described as a rare (5,6,7)-connected net with the Schläfli symbol of (4(12)·5·6(2))(4(5)·5(3)·6(2))2(4(8)·5(3)·6(8)·8(2))2. The Cd(ii) ions in are connected through the carboxylate ligands to form a 2D layer, with aperture dimensions of ∼15.1 Å × 16.2 Å. The network of features a 3D (3,4)-connected (6·8·10)2(6·8(3)·10(2)) topology. A 3D network with the (4(2)·6·8(3)) topology of possesses an open 1D channel with the free volume of 29.2%. is a 2D layer structure with the (4(2)·6(3)·8)(4(2)·6) topology. The fluorescence lifetime τ values of are on the nanosecond timescale at room temperature. In particular, central-metal exchange in leads to a series of isostructural M(ii)-Cd frameworks [M = Cu (), Co (), Ni ()] showing improved catalytic activity for the synthesis of 1,4,5,6-tetrahydropyrimidine derivatives. Based on this, a plausible mechanism for the catalytic reaction has been proposed and the reactivity-structure relationship has been further clarified.