Connector Framework Server 26.3
Connector Framework Server Help

# Append Sub File Indexes to the Document Identifier

You can configure CFS to automatically append sub-file indexes to document identifiers, before the documents are indexed.

To do this, use the lua script `identifiers.lua`, which is included with CFS in the `scripts` folder. The script is also included below:

    function handler( document )
       identifier = document:getFieldValue( "AUTN_IDENTIFIER" )

       if identifier then
          indices = document:getFieldValue( "SubFileIndexCSV" )

          if indices then
             indices = string.gsub(indices, ",", ".")
             document:setFieldValue("AUTN_IDENTIFIER", identifier .. "|" .. indices)
          end
       end

       return true
    end

You must run the script after File Content Extraction has extracted sub-files, so run the script using a Post Import task. For example:

    [ImportTasks]
    Post0=Lua:scripts/identifiers.lua

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 26.3

Topic Title: Append Sub File Indexes to the Document Identifier