Reports in detail / Transformations |
The Extract XoomXML for Required Indexes transformation creates a XoomXML file that will, on deployment, create any missing indexes that are required for proper interpretation of all the defined Object References in configuration.
Given a XoomXML file containing Service Optimization structure (i.e. Scheme and an Object Reference setting), the Extract XoomXML for Required Indexes transformation creates a XoomXML file that will, on deployment, create any indexes that are missing from configuration.
<Collection xoom:id="Collection[Contract]"> <IdName>Contract</IdName> <xoom:set select="Indexes/Index[ IdName = 'Name' ]"> <ID>1</ID> <IdName>Name</IdName> <Name>Contract__Name</Name> <IsProduct>False</IsProduct> <Context> <Property xoom:ref="Contract Property[Name]">Name</Property> </Context> </xoom:set> </Collection>When the whole XoomXML file is deployed, the missing index is instated with the above Properties.
The transformation also takes an optional parameter: IncludeExistingIndexes with value 0 (default) or 1. If specified, this will cause the transformation to include all indexes that are required by existing Object References, regardless of whether they are currently missing or not. To include the parameter, execute the transformation using Xoom Processor.