DBWGDFCustomConditions.PAR

<< Click to Display Table of Contents >>

Navigation:  Appendix > Parameter Files >

DBWGDFCustomConditions.PAR

DBWGDFCustomConditions.PAR file

This parameter file contains the aliases for the values you can choose in the combo related to the following option in User Interface→Browser Behavior

images_GlobalDocFilter02

Its location is the shared PAR directory (usually DBWORKS_SERVER\PAR\)

Example

;

;
; DBWGDFCustomConditions.PAR
; Format:
; <title>=<condition>
;
Filter out documents obsolete or older than 180 days=(STATE IS NOT NULL AND STATE='OBSOLETE') OR (LAST_MODIFIED_DATE IS NOT NULL AND DATEDIFF( day, LAST_MODIFIED_DATE, GETDATE() ) > 180 )
Filter out PDF documents=(FILE_NAME IS NOT NULL AND FILE_NAME LIKE '%.PDF')
Filter out documents obsolete or older than 60 days=(STATE IS NOT NULL AND STATE='OBSOLETE') OR (LAST_MODIFIED_DATE IS NOT NULL AND DATEDIFF( day, LAST_MODIFIED_DATE, GETDATE() ) > 60 )  OR (LAST_MODIFIED_DATE IS NULL AND DATEDIFF( day, CREATION_DATE, GETDATE() ) > 60 )
Filter out documents that have been archived=(ARCHIVE IS NOT NULL AND ARCHIVE=1 )
Filter out documents that are not released and not in workflow=(STATE IS NOT NULL AND ( STATE='OBSOLETE' OR STATE='BEING_MODIFIED' OR STATE='NEW' OR (STATE='CHECKED_IN' AND (UNIQUE_ID NOT IN (SELECT UNIQUE_ID FROM DBW_WORKFLOW)))))
<empty line>