Viewing File Links
In Analyzer there are many ways that you can link one file with another, thus creating a dependency. Link dependencies are created when you perform tasks such as: inserting a text hyperlink, inserting an image, applying a stylesheet to a topic, and more. The Link Viewer window pane lets you see what other files a particular file is linked to and from.
This window pane lets you see the following types of information:
You can see which other files contain links to the file that has focus.
example
Let's say you have a topic called "What's New" and in several other topics you have inserted a hyperlink to it. Unfortunately, you cannot remember exactly which topics. Furthermore, you've made changes to the "What's New" topic, so you want to see if any other topics linking to it also require modifications as a result. Therefore, you open the Link Viewer window pane. You then open the "What's New" topic. Because that topic is the file containing focus, the Link Viewer window pane provides a list of all the other topics and files (e.g., tables of contents) with links to it. Not only can you see a list of files with links to the "What's New" topic, but you can double-click each file to open it and work on it.
You can see which other files are linked from the file that has focus.
example
Let's say you have a topic called "What's New", which contains a snippet, which you want to edit. One way to edit the snippet file is to go look for them in the Content Explorer and double-click it. That method can take a lot of time. Another method is to right-click on the snippet within the topic and select Open Link. But another quick method is to use the Link Viewer window pane, which not only lets you open the snippet quickly, but also see the file name of the snippet and other linked files at a glance. Therefore, you open the Link Viewer window pane. You then open the "What's New" topic. Because that topic is the file containing focus (i.e., it's the most recent file you've opened or clicked in), the Link Viewer window pane provides you with a list of all the other files linked from it.
You can see which targets are associated with the file that has focus. This is useful, for example, because it lets you know which outputs will be affected when you make changes to that file. The link to the target might be direct (e.g., the active file is a topic that is included in the table of contents for a target) or indirect (e.g., the active file is a snippet that has been inserted into a topic that is included in the table of contents for a target).
Following are the basic tasks involved with using the Link Viewer window pane in Analyzer:
Whenever you want to view links to and from a file, you simply need to open the Link Viewer window pane and give focus to the file in question. To do this select View > Links > Link Viewer. The Link Viewer window pane opens by default on the right side of the workspace. Next, open a file. As long as that file has focus (e.g., click in it), the related links are shown in the Link Viewer window pane.
Normally when you click in a different file, giving it focus, the links for that file are shown in the Link Viewer window pane. However, there may be times when you want a previous set of links to continue to show in the Link Viewer, even when you click in other files. In that case, you can lock the Link Viewer by clicking the Lock button in the local toolbar. To unlock the window pane, click the button again.
Note: If you open the Link Viewer and notice that it does not appear to be working to show links for the active topic, make sure that the Lock button is not selected. It is easy to forget that you enabled it when working on a previous file.
You can click in the local toolbar to refresh the Link Viewer window pane at any time. This ensures you are seeing the most up-to-date links for the active file.
example
Let's say you are using the Link Viewer window pane to see the links for a topic. While doing this, suppose you decide to delete one of the targets in your project, and that target is linked to the topic file. After the file is deleted, it still is shown in the Link Viewer window pane. But if you click the Refresh button, the window pane no longer shows that file link.
If you have been viewing links for multiple files, the Link Viewer window pane remembers those files and their links. You can click the Previous or Next buttons in the local toolbar to see file links that you have already viewed.