Dependency Manager
Dependency manager keeps track of links in your website that point to pages, files, Personalization content, or calendar events in Modern Campus CMS. It prevents links from breaking when a file is renamed or moved and tracks deleted content so you can easily identify and fix broken links.
When you insert a link on a page or event, a dependency tag {{f:####}} is inserted into the URL source. Use the file chooser to link to Modern Campus CMS content, rather than pasting in a full URL, to create the dependency tag.
The dependency tag stays the same, even when the page or event URL changes. Modern Campus CMS records the tag in the page content and inserts the current URL of the linked file when the page is published.
Dependency manager keeps track of links to files in your Modern Campus CMS account. It doesn't manage links to external websites. Dependency manager searches the staging server and the last published version of each publish target.
Activate dependency manager at the account and the site level.
Turning off dependency manager does not remove existing dependency tags from pages, though any newly linked files will show as link paths. To convert existing dependency tags back into link paths, revert the site.
Additional UsageLink to this section
You can also convert links into dependency tags using the following:
- Page Parameter and MultiEdit file choosers, with an option of
dependency="yes"
ordependency="dm-tag"
- The src attribute of the
<audio>
,<embed>
,<iframe>
,<input>
,<script>
,<source>
,<video>
HTML tags - The action attribute of
<form>
- The href attribute of
<area>
TypesLink to this section
The five types of dependency tags are identified by a letter inside the tag. The tags do not vary in function.
{{d:####}}
{{f:####}}
{{a:####}}
{{p:####}}
{{s:####}}
Directory
File/page/event
Asset
Personalization dynamic content and A/B Testing
XML/XSL templating pulls content from a PCF file on the staging server for a triggered publish.
Find Broken LinksLink to this section
When you rename or move a file, this changes its URL. Pages and events that link to that file are republished using the last published version, with the updated URL. When you delete a file, dependency manager identifies the broken link. Find broken links as follows:
- Run the Required Actions report to list all broken links on pages you have access to.
- Use the Broken Events report to find broken dependency tags in Modern Campus CMS calendar events.
- Click the Link Check gadget or run Page Check to search broken links on a page you are editing.
- Search the source code of a file, broken links are highlighted in red.
Find Dependency TagsLink to this section
Find the file path, name, and other metadata for a dependency tag as follows:
- Search using the Dependency Tag Info Gadget
- View the source code of a page
- Run a custom report:
- For "Pages," select "Products"
- For "Directories," select "Subscribers"
- For "Products," select "Subscribers"
- For "Assets," select "Subscribers"
Binary ManagementLink to this section
Binary management is a subset of dependency manager that keeps track of binary files such as images and PDFs. A binary file is assigned a tag that is used when you insert an image onto a page or link to a file. When the binary file is moved or renamed, binary management updates the page with the new image or file path.
Without binary management, binary files are uploaded directly to the production server and aren't stored in the Modern Campus CMS staging file system. This means they can't be published, recycled, etc. in the way that page files are.
Like dependency manager, activate binary management at the account and the site level.