IBM How to delete a document hierarchy node in IBM Datacap Taskmaster Capture - United States dco document hierarchy node delete remove hide blank page TECHNOTE (FAQ)

QUESTION
 How do I delete a document hierarchy node, such as a blank page, so that it no longer processes rules or appears in a batchview listing? 

CAUSE
It is sometimes desired to remove pages or documents from a batch, as they are no longer needed or to simplify processing for a Verify operator.

ANSWER
The DeleteChildType from the Validations library can be used by running it from the parent of the object to be deleted and specifying the specific child. 

For example, to remove blank pages from a batch: 

 1. Create a special page type attached at the batch level called something like DeleteMe. 
 2. Use an action like BlankPagesIDBySize to identify the blank page:  * BlankPagesIDBySize (1000,DeleteMe)
    
    
 3. Create a rule with the action DeleteChildType(DeleteMe) and attach it at the batch level to have it remove all pages with page type DeleteMe.


If building a custom action, the DeleteChild API method is invoked from the parent object. 

 * 
 *
Hide a page in dotedit step  I am working on datacap 8.1 version. I have 2 pages in a batch. Page 1 with status as 1, Page 2 with status as 20. Both are of same page type. In verification step (dotedit) I want to hide the page which is with status 20. I have given status 20 in ignored page status in web administrator for verify. But still when I navigate through pages in dotedit batch view the respective panel is loading. I am able to submit the batch even if I have one page in a batch with 20 as status.

Is there any way to hide the page (we have multiple same type of pages in a batch) from dotedit based on the page status?
The DeleteChildType from the Validations library can be used by running it from the parent of the object to be deleted and specifying the specific child. 

For example, to remove blank pages from a batch: 

 1. Create a special page type attached at the batch level called something like DeleteMe. 
 2. Use an action like BlankPagesIDBySize to identify the blank page:  * BlankPagesIDBySize (1000,DeleteMe)
    
    
 3. Create a rule with the action DeleteChildType(DeleteMe) and attach it at the batch level to have it remove all pages with page type DeleteMe.


If building a custom action, the DeleteChild API method is invoked from the parent object.