boolean property

mdex:boolean property values are useful for tracking true/false conditions.

The valid Boolean values for the mdex:boolean property type are:
  • true or 1 (i.e., 1 is a synonym for true)
  • false or 0 (i.e., 0 is a synonym for false)

Note that true and false are case sensitive and must be specified in lower case.

For example, the following request updates Record 492 with two Boolean properties:
<ingest:ingestRecords 
      xmlns:ingest="http://www.endeca.com/MDEX/ingest/1/0" 
      xmlns:mdex="http://www.endeca.com/MDEX/XQuery/2009/09">
   <ingest:addAssignments>
      <mdex:record>
         <FactSalesID>492</FactSalesID>
         <isInStock type="mdex:boolean">true</isInStock>
         <isActive type="mdex:boolean">1</isActive>
      </mdex:record>
   </ingest:addAssignments>
</ingest:ingestRecords>

In the example, both properties (isInStock and isActive) are set to true.