Have you tried opening the epub created in ID CC directly on Kindle Previewer (without exporting the file first to IDML)? That will convert the file to mobi.
As you suggested, I converted the epub document, generated in InDesign CC, directly to .mobi using the Kindle Format 8 (KF8). The validation was successful and without any warning. However,the TOC that I generated with styles in the epub was dimmed out so the hyperlinks were non-functional. Also, the TOC icon on the Previewer was dimmed out.
Have you tried the NCX view? The ideal situation is that you would check your Kindle in an actual Kindle device.
Kindle requires a separate html file for toc and same should be referenced in guide element in content.opf. In your InDesign CC document, generate table of contents on a page and make sure the option "Make text anchor in source paragraph" is checked.
Now export the file to EPUB 3. Open EPUB in Sigil (It is a free EPUB editor from Google). Goto Tools menu->Table of contents->Generate HTML Table of Content. This will create a new xhtml file and automatically add guide element in content.opf like this:
<reference href="Text/Untitled-21.xhtml" title="Table Of Contents" type="toc" />
Save EPUB and directly open in Kindle Previewer. TOC option should be enabled now and should be working.
Please try it out and let me know if it works.
Thanks for your help.
The process you outlined was like 1-2-3 and the TOC is working great in the .Kindle Previewer.
Thanks for the suggestion, which I have followed, but my problem of generating a working TOC remained unsolved until I used Sigil as suggested by pooja2087.
What are you supposed to do on a Mac? I have a working TOC in the beginning of my xhtml file and a working toc.ncx file, but I can't get the Kindle app to recognize it as a toc. No Sigil for Mac anymore:-( Thanks for any help you can give.
thanks so much! I will give it a try in the morning.