Archive for February, 2009

Dictionary Management

dictionary
Dictionary Management [dbloadindex.exe] is an application for adding predetermined keywords to a category in a database.

  1. Launch the Dictionary Manager from the client shortcut directory (normally on the desktop).
  2. Log into Dictionary Manager using an account that has administrative rights on the database you wish to add words to.
    • A non-administrator can log-in and build the list, however, only administrators can apply the keywords to the database.
    • If you have multiple databases, you will need to choose the one you want to work on.
  3. Load the source dictionary file by clicking the ellipses (…) button [1].
    • Synonym’s will not be covered in this article.
      dict1
    • It is good practice to have the dictionary file named the same as the database (DEMO => demo.dic)
    • If this is the first time with this database, you can create one at this step. (Be sure to save this in a location you can reach from other computers, eg your server, so you can maintain a single file for these words rather than having multiple versions.
  4. Click the –> [2] to open the keyword entry interface.
    dict2

    1. Click on the category you want to add keywords to.
    2. Enter the keywords in the Word field. (Press Enter after entering each word)
      • Repeat this for each keyword you wish to add.
    3. When complete, click the Save button on the bottom of the form. (When prompted where to save you can leave it as it is unless the path is incorrect) Choose YES to overwrite the original file.  This keeps the file with the latest updates / changes.
    4. You will be returned back to the main screen where all that is left is to apply the words to the database.
  5. Click the Execute button on the toolbar.
    dict3

    • IMPORTANT – This is the most commonly forgotten step. Without clicking this button NO words will be added to the categories.

If you complete these step and wanted to add an addtional word or words, you can click the refresh button and go back to adding.  Be sure to click the execute (Step 5) button before exiting the application.

dict4

  • Share/Bookmark

Form Scripting in DIS

Make a field ‘read-only’
This code needs to be in the Init field
var block = this.getRootBlock();
var lines = block.getChildren();
 
l1=lines[0];
l2=lines[1];
 
l1._readonly=true;
l2._readonly=true;
Replace unwanted values
This code needs to be in the Submit field
cat1=this.getChild("l1");
tVal1=cat1.getValue1();
tVal1=tVal1.replace(/-/,"?");
cat1.setValue1(tVal1,false);
Set values of fields to a given field
This code needs to be in the Submit field
Takes the value entered in field 1 and set the rest of the fields with the same value.
cat1=this.getChild("l1");
cat2=this.getChild("l2");
cat3=this.getChild("l3");
cat4=this.getChild("l4");
cat5=this.getChild("l5");
cat6=this.getChild("l6");
cat7=this.getChild("l7");
cat8=this.getChild("l8");
cat9=this.getChild("l9");
srcVals="*" + cat1.getValue1() + "*";
cat2.setValue1(srcVals,false);
cat3.setValue1(srcVals,false);
cat4.setValue1(srcVals,false);
cat5.setValue1(srcVals,false);
cat6.setValue1(srcVals,false);
cat7.setValue1(srcVals,false);
cat8.setValue1(srcVals,false);
cat9.setValue1(srcVals,false);
  • Share/Bookmark

Adding Image converter to DIS [JPG->PDF]

Step 1.  Purchase; Download; Install Total Image Converter Get it Here

Step 2. Install the image converter to a simple directory on the server. (eg C:\Converters)

Step 3. Configure the converter in amfconfig.

  1. Log into amfconfig
  2. Select Node Management
  3. Select the view option from rheaweb-SERVERNAME selectnode
  4. Select Add a new parameter paramlist
  5. Enter the information as follows addparameter
    Parameter's name:   client.converter.img2pdf
    Value:   c:/converter/ImageConverter.exe
    Overridable:   No
  6. Click Validate
  7. Restart the Docubase Services.

Step 4. Configure the converter in amfadmin.

  1. Log into amfadmin
  2. Select Access to the EDM -> Converters
  3. If JPG is not in the list, you can add it by selecting New converter
  4. Once available, select modify converterconverterconfig
  5. Click New Converter with the following values
    Overlay: *
    Enable for display: Checked
    Command: $img2pdf $infile $outfile -cpdf
    Successful return Codes: 0
    Default overlay: None
  6. Click Submit

If a user was signed in, they will need to log out and log back in to be able to utilize the newly installed converter.

  • Share/Bookmark