Like this article? We recommend
Layered InDesign Documents
You can export documents from InDesign (CS and newer) with retained layers that display as PDF layers in Acrobat.
Choose File > Export and select PDF from the Save As Type pop-up list in the Export dialog box. The Export Adobe PDF dialog box opens automatically (see Figure 2).
Figure 2 Define layer settings when exporting a PDF from InDesign.