deprecatedclass %iKnow.Model.dictionaryExternal
extends %iKnow.Model.node
This element allows loading dictionary content from an external file or from a SQL query,
as an alternative to fully listing the dictionary content in <dictionary>,
<item> and <term> elements.
parameter XMLNAME = "external";
This parameter provides the default XMLNAME for the class. If it is
empty then the class name will be used to construct a default XML name.
The default XMLNAME is used as the top level tag
when exporting objects and the export context
did not provide an XML container name.
relationship columns
as %iKnow.Model.dictionaryExternalColumn(XMLELEMENTREF=1,XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE") [ Inverse = external,Cardinality = many ];
property delimiter
as %String(XMLPROJECTION="ATTRIBUTE") [ InitialExpression = ";" ];
When referring to a file, this property defines the delimiter separating the different columns in the file
property file
as %String(MAXLEN=2000,XMLPROJECTION="ATTRIBUTE");
The file containing the dictionary content
property headerRows
as %Integer(XMLPROJECTION="ATTRIBUTE");
When referring to a file, this property defines how many header rows to skip at the top of the file
relationship matching
as %iKnow.Model.matching(XMLPROJECTION="none") [ Inverse = external,Cardinality = one ];
Link to the <matching> element this dictionary belongs to.
property sql
as %String(MAXLEN=2000,XMLPROJECTION="ATTRIBUTE");
The query to source the dictionary content from