How do I export a dependency list for only the visible objects in the project?
The dependency export feature seems only to export a dependency list for all the objects in the project, visible or hidden.
The exported document contains a message like this:
This report include visible dependencies for all objects in the project.
Objects and dependencies that are not visible are not included.
Based on the behavior of the export function, it would appear 'visible' in this context means 'added to the project' rather than 'not hidden from view'.
Is this the intended behavior?
How to reproduce
Create an example database on your development instance using the following script:
- Code: Select all
CREATE DATABASE DependencyTracker_isme_20121113;
CREATE TABLE a (
b INT PRIMARY KEY,
CREATE TABLE d (
e INT PRIMARY KEY FOREIGN KEY REFERENCES a(b),
CREATE TABLE g (
h INT PRIMARY KEY FOREIGN KEY REFERENCES d(e),
Create a new project in SQL Dependency tracker. Add all the tables from database DependencyTracker_isme_20121113 but nothing else.
The main view of SQL Dependency Tracker looks like this:
Export a PDF dependency list.
The PDF should look like this:
The export contains all the same information as the Dependency Tracker main view. So far, so good.
Hide table g.
The main view looks like this:
Export the PDF dependency list again.
The dependency list looks exactly the same:
The table g is not visible in the Dependency Tracker main view, so I would expect to see no reference to it in the exported dependency list.