04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Attribute Description<br />

MIME type (required) The MIME type (for example, application/msword) to be used in<br />

downloading a file of this type. You must specify a space-separated<br />

list of valid extensions for the MIME type (for example, .txt, .text, or<br />

.t). This is the way in which the format of these objects will be set<br />

when a file is uploaded.<br />

Description (optional) Describes this data format object.<br />

Indexable (required) Indicates whether or not this data format type can be indexed by<br />

RetrievalWare. Most MIME types supported by RetrievalWare are<br />

defined in the system when it is installed. However, any simple text<br />

format is indexable.<br />

For a complete list of supported file type, see RetrievalWare<br />

documentation.<br />

Icon (required) Defines the path to a subdirectory of the codebase that contains the<br />

icon for this format type. When you add a data format type, you have<br />

the option to reference an icon other than one of those found in the<br />

<strong>Windchill</strong> codebase. However, you must ensure that the pixel size<br />

for your icon is 16 x 16 to avoid an error when viewing icons.<br />

Extensions (required) Defines the extensions that are associated with this particular mime<br />

type (for example, .doc or .rtf for Microsoft Word).<br />

Updating Data Formats<br />

Listing Available Data Formats<br />

Note: After a data format has been added to the system, it cannot be removed.<br />

Enter the following command to update an existing data format:<br />

java wt.content.DataFormatUtil -update<br />

The tool prompts you for the format name of an existing data format object. Once<br />

you have identified the data format, you can update its attributes.<br />

Note: If you change the MIME type of a data format object, you must stop and<br />

restart the method server to implement the change.<br />

Enter the following command to display a list of existing data format objects and<br />

their attributes:<br />

java wt.content.DataFormatUtil -list<br />

Administering Content Holders and Content Objects 7-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!