You can view a list of the content files (e.g., topics, images, multimedia, page layouts, master pages, snippets) within your project that are not being used. For example, if an image file is added to your project but not yet inserted into any topic, it is considered an unused file. Also, if you have created a topic, but no other files link to that topic (or if no index keywords or concepts have been inserted into it), the topic is considered unused. You can quickly delete any of the files that you do not plan to use. You can also add condition tags to the content files.
- Open a project.
Select the View ribbon. In the Dynamic Reports section, select More Reports>Unused Items.
The Unused Items window pane opens, which allows you to view various unused elements in the project (such as bookmarks, condition tags, content files, CSH IDs, images, variables, styles, file tags, and topics not linked).
- Click the drop-down field at the top of the window pane and select Unused Content Files. The
unused content filesin the project are listed.
To see more of the information in the window pane, drag the divider bar to make the pane wider:
- File Displays the name of the content file not being used.
- Folder Displays the folder where the file is found.
If a certain number of items have been found, page navigation buttons in the local toolbar may be enabled. You can use these buttons to go to additional pages to display more items. You also have the option to view all items at once in one long list. This is called the View All option. You can toggle these views by clicking the View All/View as Pages button in the local toolbar. The button displays the opposite of whatever view is currently activated (e.g., If the View All option is currently active, the button shows View as Pages to indicate that if clicked, the button will switch the window pane to the View as Pages option).
If you want to remove any
unused content filesfrom Analyzer, as well as from the project being analyzed, select the content filein the list and click in the local toolbar.
- (Optional) You can add condition tags to the unused content files .To add condition tags, do the following.
- Select Unused Content Files from the drop-down menu in the Unused Items window pane.
- Do one of the following.
- Right-click the
content fileand from the context menu, select Properties.
content fileand press CTRL+SHIFT+P on the keyboard.
The Properties dialog opens.
- Right-click the
- In the Properties dialog, click the Conditional Text tab.
- Select condition tags, then click OK.
You can open
any content filein the list to view or modifyit in the appropriate editor. You can open the content filein the Analyzer interface or in the Flare project.
to open the file in the analyzer interface
Double-click the file in the window pane. The benefit of using this method is that it is quick and convenient. You have access to the features normally available in the editor (but not necessarily to all of the features available elsewhere in Flare).
to open the file in flare
- In the window pane, click on the file.
- Select File>Send to Flare.
The benefit of using this method is that you have access to all of the features in the application, not just those available from the editor.