Known limitations and troubleshooting
This page lists common content anchoring problems and how to solve them, followed by the current limitations of the feature.
Troubleshooting
Content anchoring troubleshooting
| Symptom | Possible cause | What to do |
|---|---|---|
| The Create Anchor button does not appear on the Preview tab. | The user doesn't have the Content Anchoring User custom permission, from WV Content Anchoring or their profile. | Assign the permission sets. Visit Set up content anchoring. |
| The file opens in Salesforce's content previewer instead of the enhanced document viewer: its extension is not listed in Enhanced Viewer Extensions, or it is a Files Connect preview. | Anchor a file that opens in the enhanced document viewer. Visit Step 4 - Confirm the enhanced document viewer settings. | |
| Create Anchor is visible but unavailable. | No text is selected. | Select text in the document. |
| Link stays unavailable after you pick a Reference document. | For a Precise passage link, no Reference passage is highlighted yet; the Reference opens in Salesforce's content previewer, where passages can't be highlighted; or you just selected a different Scientific Statement and the suggestions are reloading. | Highlight the Reference passage, choose Whole document, or pick the Reference again after the suggestions reload. |
| A document can't be found in Create Anchor suggestions or Browse, or Browse reads "No documents match those filters. Adjust the filters above." | That version is in a state named in a Document Lifecycle's Obsolete State, Superseded State, Withdrawn State, or Rejected State field, for example a version superseded when a newer version was published. | Cite the current version. Visit Control which document versions can be cited. |
| The Anchors panel reads "This file opens in the standard preview, so passages can't be selected or highlighted here." and there is no Create Anchor button. | The file opens in Salesforce's content previewer: its extension isn't listed in Enhanced Viewer Extensions, or it is a Files Connect preview. Existing anchors are still listed but can't be highlighted in the preview. | Anchor a file that opens in the enhanced document viewer. Visit Step 4 - Confirm the enhanced document viewer settings. |
| The Anchors panel is missing from the Document record page. | The user doesn't have the Content Anchoring User custom permission, or the page doesn't contain the MCM - Anchor Rail component. | Assign the permission set, or add the component. Visit Step 2 - Add the Anchors panel to customized Document record pages. |
| The Anchors panel reads "Open a document preview to manage anchors." | The page doesn't contain the MCM - Document Preview component. | Add MCM - Document Preview to the same page. |
| The All Anchors tab is missing. | The user is not assigned CM Content Anchoring, or the tab is not in the app's navigation. | Assign the permission set, or add the tab to the app. Visit Step 3 - Add the All Anchors tab to your app navigation. |
| The All Anchors tab is blank. | The user has CM Content Anchoring but not the Content Anchoring User custom permission. | Assign WV Content Anchoring. |
| The All Anchors tab reads "Could not load anchors" with "Anchoring is unavailable because Content Management is not fully installed. Contact your administrator.", the same message appears when a document opens, and the Anchors panel reads "Couldn't load anchors". | Regulated Content Cloud is installed, but the component that content anchoring uses to check access to document versions can't be found, for example because the installed package versions don't match. Anchoring is switched off rather than showing anchors that users shouldn't see. | Install matching versions of the Medical Information Cloud packages. Each failed request logs an error in the Debug Log (mvn__Debug_Log__c) object whose message names CM_AnchorContextProvider, so opening one document can log several errors. |
| The All Anchors tab reads "No anchors yet", but anchors exist. | The user can't read both ends of those anchors. | Check the user's access to the document versions at both ends. Visit Anchor visibility and permissions. |
| An Anchors panel row is titled "Linked document" and that end's passage reads "Restricted — no access". | The user can't read that end's document version or file, or that document version was deleted. | Share the document with the user if they should see it. If the document version was deleted, remove the anchor. Visit Anchors whose document was deleted. |
| Saving a new anchor (Link in the Create Anchor window), or Edit, Repoint, or Remove, fails with "You do not have permission to manage anchors on this document." ("You do not have permission to create anchors on this document." when saving a new anchor). | The user can't read the anchor's Scientific Statement document version or file. | Share the Scientific Statement document with the user if they should manage its anchors. Visit Anchor visibility and permissions. |
| Saving a new anchor, or Edit, Repoint, or Remove, fails with "You do not have access to the Reference document." | The anchor's Reference document still exists but the user can't read it (for Remove), the new Reference (for a new anchor or Repoint), or the Reference whose passage they selected again (for Edit). | Share the Reference document with the user, or ask a user who can read both documents. |
| The Anchors panel shows a count such as 2 to check, and rows show an amber Check chip. | The anchors were copied to a new version whose file changed. | Open each anchor and confirm or fix it. Visit Check a flagged anchor. |
| Check doesn't disappear after the document is opened. | The anchor's other end hasn't been found yet (open the anchor's other document), the passage wasn't found exactly once, the anchor was moved to a best match, the Scientific Statement document isn't in an initial, in-review, or rejected state, the passage is shorter than 20 characters, the flagged end's document opens in Salesforce's content previewer, or the user can't read both documents. | Edit the anchor and select the passage again. |
| A new version's Anchors panel reads "No links yet". | The anchors are still being copied, or the version was created in a way that doesn't copy anchors (for example Clone Document or the Regulated Content Cloud REST API), or the previous version was displayed through a rendition, or the new version got a viewable rendition after its anchors were copied. | Click Refresh anchor list. Visit When anchors are not copied. |
| Move anchor fails with "Could not move the anchor". | The newer Reference version is no longer published, the Scientific Statement document's status changed, or its status couldn't be checked. | Visit Move an anchor to a newer approved version. |
| Edit, Repoint, or Remove fails with a message that the record is currently being modified by another user. | Automatic re-finding was updating the same anchor at that moment. | Wait a moment and try again. |
| Opening an anchor end shows "We couldn't find the record you're trying to access". | The user can read the document version but not its parent Document record. | Share the parent Document record with the user. |
| The Relationship Visualizer shows the error "Failed to load configuration: No active Relationship Visualizer configuration found for: CM_Document_Relationship". | The org has no Document Relationship (CM_Document_Relationship) Relationship Visualizer Configuration record. | Create the record with the values listed in Relationships, and leave Default Legend Configuration blank so that the built-in legend, which includes Anchor Links, is used. |
| Anchors don't appear in the Relationship Visualizer. | The visualizer's legend doesn't include the anchor-link entry. | Add the entry. Visit Step 6 - Check the Relationship Visualizer legend. |
| The visualizer was opened for a different version. Anchors belong to the specific document versions at their two ends. | Open the visualizer from one of those document versions. | |
| Suggestions always show Content match. | Data 360 suggestions are not configured, the configuration doesn't match anchoring searches, or the installed Data 360 content search connector (mvn-content-dc-search) is older than version 0.5. | Visit Step 5 - (Optional) Configure Data 360 suggestions. |
| A suggestion opens at page 1 instead of the passage. | The suggestion matched on the document's title or number, its passage appears more than once in the document, or another document was opened while the previous one was still loading. | Scroll to the passage and highlight it. |
A .doc file's preview never finishes loading. | doc is listed in Enhanced Viewer Extensions. Legacy Word files aren't supported by the enhanced document viewer. | Remove doc from Enhanced Viewer Extensions so that .doc files open in Salesforce's content previewer. Allow up to 48 hours for the change to apply. |
| A change to Enhanced Viewer Extensions has no effect. | MCM Global Setting records are cached. | Allow up to 48 hours for the change to apply. |
| The same anchor appears twice. | Link was clicked twice very quickly. | Remove the extra anchor from the Anchors panel. |
| The same anchor appears more than once in the Anchors panel. | The other document has several versions: each new version gets a copy of the anchor, and each copy is listed. A draft that shares its file with the published version lists both versions' anchors. | No action needed. Each copy has its own anchor number. |
| The Anchors panel and the Relationship Visualizer show different numbers of anchors. | The panel lists the anchors on the document's file, while the visualizer shows the anchors on one document version and combines several anchors between the same two versions into one Anchor Links node. | No action needed. |
Known limitations
Creating anchors
- Anchoring works only in the enhanced document viewer, for listed file extensions. PDF and Word
(
.docx) files are supported; visit Step 4 - Confirm the enhanced document viewer settings. - Legacy Word files (
.doc) and other legacy Office formats aren't supported. Ifdocis listed in Enhanced Viewer Extensions, a.docfile's preview can stay on a loading spinner with no error. Removedocso that.docfiles open in Salesforce's content previewer. - Keyword (Content match) suggestions don't search the text inside uploaded files. For passage-level suggestions from file content, configure Data 360 suggestions.
- A Reference document that opens in Salesforce's content previewer can be linked only as Whole document.
- Retired versions are not offered as a Reference, but the rule applies only when finding one. A Create Anchor window that was already open when a document was retired can still save an anchor to it.
- The Status filter on the Browse tab can take a while to reflect a lifecycle change.
- The retired states are combined across all Document Lifecycle records, so a state that one lifecycle names as retired can't be cited in any lifecycle.
- A suggestion only scrolls to the passage. For a Precise passage link, you must highlight the Reference passage yourself. Suggestions that matched on the title or document number, and documents picked from Browse, open at page 1.
- The Browse tab lists at most 15 document versions, most recently modified first, whether or not you filter, and the Product filter lists the first 200 products.
- Other versions of the same document can be offered as a Reference.
- The duplicate check is best-effort. Clicking Link twice very quickly can create a duplicate.
- Anchors can't be created with the keyboard alone; selecting text and following markers use the mouse.
Managing and listing anchors
- You can repoint an anchor only from its Scientific Statement document, and repointing changes only the Reference end.
- There is no way to restore a removed anchor from the user interface.
- Managing anchors needs only read access to the Scientific Statement document, not edit access. Removing an anchor also needs read access to its Reference document unless that document version or its file was deleted. If the Scientific Statement document version was deleted, read access to the Reference document is enough to remove the anchor.
- The Anchors panel lists anchors by file, so after a document gets new versions the other document's panel lists one row per version, and a draft that shares the published version's file lists both versions' anchors.
- In an Anchors panel long enough to scroll, the last row's Anchor actions menu can be cut off at the bottom of the list.
- The Anchors panel and the document preview show the 500 newest anchors on a document's file. Older anchors beyond that are not shown, and no message appears.
- The All Anchors tab loads up to 2,000 anchors; a message explains how to narrow the list. The Created by filter lists active users only.
- The Relationship Visualizer reads up to 200 anchors per document version, and several anchors to the same version are shown as one Anchor Links node; a banner appears when there are more.
- Nothing in Regulated Content Cloud sets an anchor's status to Stale automatically.
- Most anchoring text is in English and is not a custom label, so it can't be translated or changed. The anchoring custom labels are listed in Regulated Content Cloud custom labels; protected labels among them can't be overridden.
- Anchor Link records have no tab, page layout, or reports. Administrators can read them with SOQL or the API. Users who hold WV Content Anchoring can also create Anchor Link records, and edit the ones they own, through the API or tools such as Data Loader; those changes skip the checks the anchoring screens make.
- Anchor markers also appear when a user with the Content Anchoring User custom permission opens the file in the enhanced document viewer outside the Document record page.
New document versions
- Anchors are not copied to documents created with Clone Document, to versions created through
the Regulated Content Cloud REST API (
POST /mcm/v1/documents/{documentId}), which start with no anchors and log nothing, or, when one transaction creates two versions of the same document in a row, to the newer one. Versions created by your own batch, future, or queueable Apex start with no anchors and log nothing unless that job callsQueueableChainContext.enqueueCurrentQueueableChain()before it ends. - Anchors on a document version displayed through a viewable rendition are not copied to the next version. If a version gets a viewable rendition after anchors were created on or copied to its own file, those anchors no longer appear in that version's Anchors panel or viewer.
- Copied anchors are marked Check whenever the file changed, even if their passage didn't move, until automatic re-finding or the author confirms them. A Whole document anchor whose Reference file changed is not marked. The Check chip doesn't say which end changed.
- Automatic re-finding is case-sensitive, skips passages shorter than 20 characters, searches up to 50 anchor ends each time a document is opened, and runs only for anchors whose Scientific Statement document is in its lifecycle's initial, in-review, or rejected state. It never confirms a passage that appears more than once in the document.
- Move anchor links the anchor to the whole newer Reference version; you repoint it to a Reference passage yourself.
- How an anchor's position was last established (Match State, Match Method, Matched On, and Matched By) is recorded on the Anchor Link record but has no screen. Administrators can read it with SOQL or field history.
In these cases, create or fix the anchors by hand. Visit Anchors and new document versions.
