Tuesday, January 6, 2015

Extract war using java commands.

Navigate to java bin path and execute below command make sure war file is present in c:
java\jdk-1.7.0\bin

To navigate to necessary bin path from you default path run below command

>cd c:java\jdk-1.7.0\bin
c:java\jdk-1.7.0\bin>jar -xvf example.war



How to change Attribute length in Documentum?


Attribute length in a object type can be changed using API or DA or Composer.

In composer

Create new documentum project -->  Import the object type in which you want to modify the attribute length.



go to length and change to required character length.


In order to decrease character length you need to need to drop the attribute and then recreate it with desired length.

To Drop attribute
ALTER TYPE type_name
DROP attribute_name [PUBLISH]

To add attribute
ALTER TYPE type_name
ADD (attribute_name char(32)) [PUBLISH]