Example Record Query - External Keys
This example returns a list of records from CUSTOMER repository, which have FIRSTNAME specified as John.
<ExternalKeys> <!-- First Key is repository name --> <Key name="MASTERCATALOGNAME">CUSTOMER</Key> <!-- Subsequent are Record Keys --> <Key name="FIRSTNAME" operator="eq">John</Key> </ExternalKeys>
You can specify the multi-value attributes in the search criteria similar to the regular attribute. For example:
<ExternalKeys> <!-- First Key is repository name --> <Key name="MASTERCATALOGNAME">PRODUCT</Key> <!-- Subsequent are Record Keys --> <Key name="TYPE" operator="eq">shirt</Key> <Key name="SIZE" operator="eq">XL</Key> </ExternalKeys>
This example returns those products whose TYPE is equal to shirt and one of the value for SIZE is XL, where SIZE is a multi-value attribute.
Copyright © Cloud Software Group, Inc. All rights reserved.