xCP – Cleanup space

  1. Fire the following query and note the <r_object_id> of the latest version of xcp_atrifact_bundle
select r_object_id, namespace, r_version_label from xcp_artifact_bundle (all) where namespace='<namespace>’
  1. Fire the following query to delete all the older versions. Be very careful in noting the object ID. It should be the object ID of the latest version of the object.
delete xcp_artifact_bundle (all)  objects where namespace = ‘<namespace>’ and r_object_id != ‘<r_ojbect_id> noted in first query’
  1. Once the objects are deleted, run dm_DMClean job to purge the older objects and its content from repository by navigating to “Job Management” > Jobs. Select dm_DmClean job. Right click and run.
You can do the same clean up for the xcpui, xcpcommons and xCP core in the xcp_artifact_bundle.

xCP – logger configuration for search service

– Log4j configuration:
Add the following lines in the
        log4j.properties of the application found under <app server>\webapps\<app_name>\WEB-INF\classes:
        #XCP Search REST classes
#For Real-Time Query
#For Full-Text Query

D2 – Columns in doclist

1) D2 will check D2-Config -> Interface -> Display configuration first:
If the listed object type is in “Selected type” pane and the property is configured with a Dictionary, then D2 will follow the Dictionary.

User-added image

2) If there’s no Dictionary configured, D2 will look into the object type definition:
In Composer, open the target object type, and find the label in “Display” tab, the label defined will be displayed in D2 Doclist widget.
User-added image