The self-assembly of cadmium(II) ions with bis(1,2,4-triazole) ligand afford two new coordination polymers based on different heterocyclic dicarboxylates, namely, [Cd(mu-fdc)(mu-pbtx)(H2O)](n) (1) and [Cd-2(mu(3)-tdc)(2)(mu-pbtx)(2)(H2O)(2)](n) (2) where H(2)fdc = furan-2,5-dicarboxylic acid, H(2)tdc = thiophene-2,5-dicarboxylic acid, pbtx = 1,4-bis[(1H-1,2,4-triazol-1-yl)methyl]benzene. The coordination polymers have been prepared by the hydrothermal method and characterized by elemental analysis, IR spectra and single crystal X-ray diffraction. The anionic linkers play important roles in modulating the formation of the coordination polymers. Single crystal X-ray diffraction study reveals that complex 1 possesses a uninodal 4-connected two-dimensional (2D) -> 3D polycatenated framework based on inclined 2D 4(4)-sql grids. When the O-containing fdc is replaced by S-containing tdc ligand, a uninodal 8-connected three-dimensional (3D) framework of 2 with rare cco-8-Pbcm (3(6).4(14).5(7).6) topology is obtained under the same reaction conditions. The effect of O and S atoms in heterocyclic dicarboxylates on the formation of framework has been discussed. Moreover, photoluminescence properties and thermal stabilities of the compounds were investigated. (C) 2015 Elsevier Ltd. All rights reserved.