The product you are thinking of using is flexible. The cabinet should ideally be inflexible. So DAP is out. A wood glue, assuming the cabinet can be compressed using clamps, will provide a stronger bond than any other spot on the cabinet.
So some clamps or weight on the cabinet after applying the glue, to compress or close the opening, is the best solution.