Skip to content

Documentum upgrade project: D2-Client and missing icons

The new D2-Client does not correctly display the icon for some formats. This usually happens when the icon.css is not up to date based on the content format in the repository. The solution is to find these formats and update the icon.css.

Here is the solution in three simple steps:

1) Find all formats described in icon.css

grep -B1 formats icon.css | cut -f1 -d"{" | grep SPAN | cut -f2 -d. > format.txt

icon.css is located on the application server under”…webappsD2-Clientstylesdefaultscss”

2) Find which format in the repository is not defined in icon.css using a dql query

Use the value in format.txt from previous step to build the dql query:

select distinct a_content_type from dm_document(all)
where a_content_type not in
('unknown',
'blank',
'crtext',
'text',
'mactext',
'pdftext',
'pdf',
.... .
....
'vsd1Large',
'vsd2Large',
'vsd3Large',
'vsd4Large')

3) Update icon.css with the missing formats

Let’s take an example: For msw2007, I added:

SPAN.msw2007 {  BACKGROUND-IMAGE: url(/D2-Client/servlet/GetResource/images/icons/formats/doc-small.gif) }

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Gérard Wisson

Gérard Wisson

Gérard Wisson has more than twenty years of experience in Enterprise Content Management (ECM) with Documentum and in Oracle WebLogic and Java EE infrastructures. He specializes in ECM infrastructure services, including installation, upgrade, high availability, and administration, and in Oracle WebLogic installation, configuration, and management. He also monitors and optimizes Java EE infrastructures with Grid/Cloud Control and JVMD. Prior to joining dbi services, Gérard was Senior Consultant at Solfit in Basel. He holds a diploma in Electrical Engineering from the University of Strasbourg. His industry experience covers financial services and banking, chemicals, and pharmaceuticals.View Author posts

23 posts since May 2012

Most read in Documentum

The Documentum posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *