I have made a large notebook and using MakeContents[ ] i have generated a second notebook file with the content “TOC.nb”.
Now I would like to deploy the two notebook files as a single CDF (the TOC should precede the other), but I have problems finding documentation for this problem.
Notebooks and derived CDF files relate 1-to-1, so any notebooks that are to become part of the same CDF file need to get combined into a single notebook file before deploying the latter as a CDF.
Of course you can combine two notebooks by hand by copying and pasting.
In order to do the same programmatically I would recommend familiarizing yourself with the various notebook manipulation functions: