Article Index

However, we like to share with you how you can deactivate documents.

 

Preparation

---------------

- Create a Cabinet called Deactivated

- Create an ACL called HIDDEN, where you revoke world read permission

- Mark documents that you want to deactivate by changing the subject of the document to deactivate

 

Notes:

- If you like to use the queries below, be sure to test them first in a safe environment / test system

 

- The sample queries will deactivate dm_document type and any subtypes of dm_document!

- Complete version trees will be deactivated

- Only 1 version in the tree needs to have the subject set to deactivate to deactivate the complete tree

 

- It will only execute on versions that exist outside the /Deactivated cabinet

- In the Step 2 UPDATE statement, modify the SET acl_domain to reflect your docbase name

 

Step 1: Identify which Versions are going to be deactivated:

 

SELECT *

FROM dm_document (ALL) doc1

WHERE r_object_id IN

(SELECT r_object_id FROM dm_document (ALL) doc2

WHERE doc2.r_object_id = doc1.r_object_id AND NOT FOLDER ('/Deactivated'))

AND i_chronicle_id IN

(SELECT i_chronicle_id FROM dm_document (ALL) doc2 

WHERE doc2.i_chronicle_id = doc1.i_chronicle_id

AND UPPER(subject) LIKE UPPER('deactivate%'))

ORDER BY object_name

 

Step 2: Deactivate the complete version trees:

 

UPDATE dm_document (ALL) doc1 OBJECTS

SET r_immutable_flag = FALSE

SET acl_domain = '*YOUR DOCBASE NAME*'

SET acl_name = 'HIDDEN'

MOVE TO '/Deactivated'

WHERE r_object_id IN

(SELECT r_object_id FROM dm_document (ALL) doc2

WHERE doc2.r_object_id = doc1.r_object_id AND NOT FOLDER ('/Deactivated'))

AND i_chronicle_id IN

(SELECT i_chronicle_id FROM dm_document (ALL) doc2 

WHERE doc2.i_chronicle_id = doc1.i_chronicle_id

AND UPPER(subject) LIKE UPPER('deactivate%'))

 

 

If you have questions or comments, be sure to send an e-mail to This email address is being protected from spambots. You need JavaScript enabled to view it. or post in our forum at http://www.canservices.nl

Our latest Delilah evaluation release is Delilah 2019-06-02 (June 2019) and is now available for download. Our Delilah 2019 version, includes: - Built in PDF viewer, available in Right-Click menu -> View Rendition - Improved Dump manager, available in Right-Click menu -> Dump, with Tree structure providing easy access to related folders and dm_relations - Query result grids with Excel-like filtering options - Latest Office Ribbon style menu (MS Office 2016 style) - Bug fixes and minor...
Please be aware that our Delilah software does not include any OpenText Documentum licenses that you may require. Please check with your OpenText sales support if you are not sure about your licenses (content server users etc).
Simple Search provides a single data entry field and a configurable list of searches. It can be used to configure frequently used searches, on Documentum objects, using full text searches or to query registered tables. When you have for example an Equipment master table or Product table, a simple search on the description field can save your users a lot of time. When you enter text in the upper left search field and have selected a search method, you can get your results by pressing enter:
Using the Delilah Spreadsheet Lookup feature, you can load an Excel spreadsheet and use the column data inside the spreadsheet to run queries on your Documentum repository. This feature can be very usefull and a real timesaver when your documentum system contains for example document objects that include part numbers or equipment tag numbers and you want to retrieve a list of available information/documentation. At Documentum repository level, you can load a configuration file for the...
Our 2018 version of Delilah introduces a more advanced Properties component. The Properties can be configured for each of the Documentum Object Types you want to support. This configuration requires administrator access to your Documentum system. To give you an impression of the Properties component: Your administrator can define which Tabs to show and which fields/query results are to be shown on which tab.
In our March 2018 Delilah release we now have embedded an integrated PDF viewer. The main reason for embedding the PDF viewer was to easily support PDF viewing from our HTML5 based version. In the following screenshot you can get an impression of the PDF viewer: The PDF viewer is available from the Right Click menu that is available for all result grids in Delilah. Just a technical detail, the viewer only works when the results grid contains the r_object_id field, that field is used as a...
Deactivating Documents in DQL We received questions from Delilah users who would like to see functionality to be added that allows documents to be deactivated. For deactivation, most people do not want to delete the documents but just move to a special cabinet. Because deactivation can also be easily accomplished using just DQL, we do not see a need to add this functionality to the Delilah product. However, we like to share with you how you can deactivate documents. Preparation ---------------...