Answer Server 25.3
Answer Server Help

# LuaCodifiedFactProperty:new

The constructor for a `LuaCodifiedFactProperty` object (creates a new `LuaCodifiedFactProperty` object). The `LuaCodifiedFactProperty` object is a property of an incomplete fact.

## Syntax

    new(code, value, qualifiers)

## Arguments

Argument | Description
--- | ---
`code` | (string) The code for the property.
`value` | (string) The value for the property
`qualifiers` | (LuaCodifiedFactQualifier) An array of qualifiers for the property. This argument can be `nil`.

## Example

    local fact = incomplete:initToCodifiedFact()
    fact:setProperties({LuaCodifiedFactProperty:new("QAGE","42", nil)})
    ...

Copyright 2016-2025 Open Text
Version 25.3 | Last updated July 2025

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 Answer Server 25.3

Topic Title: LuaCodifiedFactProperty:new