Skip to main content
Inspiring
October 29, 2019
Answered

TOC links don't work after I update the book

  • October 29, 2019
  • 9 replies
  • 686 views

I'm trying to set up a TOC with working links. I've created the TOC from scratch several times and the links work. But when I update the book, all the links stop working. I'm using unstructured Frame 11 and have several chapters with text insets. I've tried this with 3 different books. Everything is working correctly until I update the book. When I first create the TOC, the formatting is all messed up, so I apply the correct formatting and there are several blank pages. I update the book to fix the page numbering and blanks, and then none of the links work. 

This topic has been closed for replies.
Correct answer AmandaCMS

It turned out to be this text on the Reference Pages 

openObjectId<$relfilename>:<$ObjectType><$ObjectId>

I'm not sure what that's for, but I removed it and everything seems to be working now. There was some design stuff on the Reference pages I was hoping to keep, so I was trying to get those formats to import correctly along with the para styles. Thanks much for your help!!

9 replies

frameexpert
Community Expert
Community Expert
October 29, 2019

Something to investigate: Let's assume one of your headings that you are pulling into the TOC is formatted like this:

Installing the Widget

When you generate the TOC, only the text up to the property change (italic in this case) will be "hot"; the rest of the text will not be a link in the PDF. There is actually a reason for this which I won't go into here (not a useful reason any more), but see if this is the issue with non-working links.

www.frameexpert.com
AmandaCMSAuthor
Inspiring
October 29, 2019

Thanks, frameexpert - I saw in some other posts about character styles preventing the links from working. I don't have any character styles in my TOC though, so I knew it wasn't that. 

frameexpert
Community Expert
Community Expert
October 30, 2019

What is odd to me is that you deleted this:

openObjectId<$relfilename>:<$ObjectType><$ObjectId>

and your links still work. This is the line that is supposed to control how the links work in your generated file.

www.frameexpert.com
AmandaCMSAuthorCorrect answer
Inspiring
October 29, 2019

It turned out to be this text on the Reference Pages 

openObjectId<$relfilename>:<$ObjectType><$ObjectId>

I'm not sure what that's for, but I removed it and everything seems to be working now. There was some design stuff on the Reference pages I was hoping to keep, so I was trying to get those formats to import correctly along with the para styles. Thanks much for your help!!

Jeff_Coatsworth
Community Expert
Community Expert
October 29, 2019

I think that's where you're messing up the formatting - you probably only need to bring in paragrah & character tag formats.

AmandaCMSAuthor
Inspiring
October 29, 2019

I open the template file, then with the TOC in view I click File > Import > Formats and choose the template file. I had all the Import and Update check boxes selected, but I've just started trying it with only certain ones selected. 

Jeff_Coatsworth
Community Expert
Community Expert
October 29, 2019

Ok, so how are you applying the formatting changes?

AmandaCMSAuthor
Inspiring
October 29, 2019

I created a couple of test books. It seems when I apply the formatting, it works until I update the book. But when I don't apply any formatting, it works even after I update the book. So there must be something in the formatting (it's from a template) that messes up the linking after I update the book. Does anyone have any areas to look at first - as far as common formatting that messes up the TOC links? Thanks!

Jeff_Coatsworth
Community Expert
Community Expert
October 29, 2019

FM11 is pretty old - are you all patched up? Was this working before & now it doesn't - or did it never work? Have you tried creating a simple book as a test and creating a TOC for it?

AmandaCMSAuthor
Inspiring
October 29, 2019

Yes, I create it through Frame - Add > Table of Contents. Add the Para Tags I want to include and make sure the Hypertext Links box is checked. It's definitely a generated File (the icon is the orange/black color). The links still work after I apply the formatting. They stop working after I generate the book. 

Jeff_Coatsworth
Community Expert
Community Expert
October 29, 2019

How did you create the TOC in the first place? You have to have FM create one for you before you can fiddle around with formatting.