Skip to main content
Kofax

Document Fields in a KIC Script

3011165

Question / Problem: 

How are Document Fields set in a KIC script?

Answer / Solution: 

Document Fields are set in the BeforeDocumentImport method in this manner:

public void BeforeDocumentImport(IDictionary<string, string> indexFields,
                                  IDictionary<string, string> folderFields,
                                  IDictionary<string, string> batchFields,
                                  List<Attachment> messageBody,
                                  List<Attachment> attachments,
                                  object extension)
        {                       
            
            indexFields["MyField"] = "Abc";  
        }

 

Applies to:  

Product Version Category
KIC ALL Scripting