Hi, Sakshi. I solved the problem. I just checked "Create text anchor in source paragraph" option and it now works. I've never looked into this because I believe that in earlier versions of InDesign this option was checked by default and the links in TOC worked correctly. In CC 2018 it was deselected by default for me.
Hi Monica. I made this before read your comment. That's exactly what worked for me
Hi, Sakshi. I solved the problem. I just checked "Create text anchor in source paragraph" option and it now works. I've never looked into this because I believe that in earlier versions of InDesign this option was checked by default and the links in TOC worked correctly. In CC 2018 it was deselected by default for me.
Hi Monica. I made this before read your comment. That's exactly what worked for me