Once you create a block definition, you can delete it if needed. When deleting a query block, verify that the query will still include all the needed fields.
In the Projects window, right-click the master index application you want to modify, and then click Open.
If the Configuration Editor dialog box appears, click Edit to check out the listed files.
The Configuration Editor appears.
Click the Query tab.
The Query page appears.
In the Blocking Queries section, select the query you want to modify and then click Edit.
The Blocking Query Builder dialog box appears.
In the Block Definitions section, select the definition you want to delete.
Click Remove.
On the confirmation dialog box, click Yes.
On the Configuration Editor toolbar, click Save.
In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Candidate Select file.
The file opens in the NetBeans XML editor.
Scroll to the query-builder element that contains the blocking query to modify.
In that query-builder element, delete all text between and including the block-definition element defining the data block to remove.
For example, in the sample below, to delete the SSN block you would delete the boldface text.
<config> <block-definition number="ID000007"> <block-rule> <equals> <field>Enterprise.SystemSBR.Person.SSN</field> <source>Person.SSN</source> </equals> </block-rule> </block-definition> <block-definition number="ID000008"> <block-rule> <equals> <field>Enterprise.SystemSBR.Person.DOB</field> <source>Person.DOB</source> </equals> </block-rule> </block-definition> |
Each blocking query must contain one config element, and the config element must contain at least one block definition.
Save and close the file.