A robust 3D zinc(II)-organic framework for efficient dual detection of acetylacetone and Tb3+ ions.