The use of metal fluorides in hydrothermal reactions with linking phosphate and arsenate groups leads to the synthesis of numerous, frequently non-centrosymmetric, structures of controlled dimensionality.