Two-dimensional cobalt-based coordinationpolymers (CPs) offer large and accessible cavities lined with hydrogen bonds. Such CPs reversibly adsorbed molecular iodine and supported Lewis acid catalyzed heterogeneous catalysis for Friedel Crafts and multicomponent condensation reactions.