You are currently reviewing an older revision of this page.

KB-XXXX Blank items in Knowledge Center

Symptoms 

When navigating to a Knowledge Center page from designer, users encounter items listed that have no names and appear to be blank items.

Cause 

This can happen when documents were generated or moved directly to the knowledge center through means of a smart service or SAIL component.

Knowledge Centers should only contain folders. Within those folders are where the documents should exist. When documents are added as child to the Knowledge Center directly, they appear as blank items.

Action

  1. Deploy the Custom Content Functions plug-in.
  2. Navigate to the parent of the problematic Knowledge Center and select the checkbox on the left of the KC name and click Properties in the toolbar. Copy the ID. If the Temporary Documents Knowledge Center is the one in question, navigate to /designer --> Documents --> Communities --> Default Community and click Properties in the toolbar. The ID will be 8 or 7 depending on how old the installation is.
  3. Run the following expression where kcId is the id from the previous step: =getdocumentsfromfolder(ri!kcId,false)
  4. That'll give you the list of id's of the documents directly under the KC who shouldn't be there; they should be inside a folder
  5. Create a process model with a Move Document node
  6. Create a process variable called pv!docToMove of type DOCUMENT and MAKE IT A PARAMETER
  7. In the "Document" field type: =pv!docToMove
  8. In the Destination select the destination folder, e.g. Temporary Documents folder
  9. Create a start form for this process so that you can provide the document to move in the start form
  10. Save and publish
  11. Start a new instance of this process
  12. Provide the id of the document to move and submit the form
  13. Repeat step 11 and 12 for each document to be moved from step 3. You can also configure your model to use MNI and run once instance of "Move Document" per passed document id.

Affected Versions

Last Reviewed: December 2017