Jump to: navigation, search

Difference between revisions of "HowTo:Add a new file extension"


Line 1: Line 1:
=== How to add a file extension in UBIK ===
+
File extensions are necessary to open files with the right program. This article explains how to add a new file extension in the data base.
  
 
# Open {{UBIK Studio}} and connect to database.<br/>In the {{Class_Browser}} switch to the ''[[Class_Browser#Content|Content view]]''.<br/>[[File:Add_a_file_extension_01.png|440px|border|alt=Add a file extension|Add a file extension]]<br/>
 
# Open {{UBIK Studio}} and connect to database.<br/>In the {{Class_Browser}} switch to the ''[[Class_Browser#Content|Content view]]''.<br/>[[File:Add_a_file_extension_01.png|440px|border|alt=Add a file extension|Add a file extension]]<br/>
Line 8: Line 8:
  
 
# Open the ''[[Release_data_model|compile window]]'' using F6 key.
 
# Open the ''[[Release_data_model|compile window]]'' using F6 key.
# Release the ACM with the {{ACM_Manager}} using F11 key<br/>Click on the buttons as shown in the picture below and  restart your web service.<br/>[[File:Add_a_file_extension_12.png|660 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_13.png|660 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_14.png|660 px|border|alt=Add a file extension|Add a file extension]]
+
# Release the ACM with the {{ACM_Manager}} using F11 key.
# Restart your web service<br/>Connect to your web server, open the Internet Information Service (IIS) Manager and click on the Restart button on the right side.<br/>[[File:Add_a_file_extension_15.png|660 px|border|alt=Add a file extension|Add a file extension]]
+
# Restart your ''[[HowTo:Configure_Microsoft_IIS_for_UBIK|web service]]''.
  
 
[[Category:How-To|Add a new file extension]]
 
[[Category:How-To|Add a new file extension]]

Revision as of 10:44, 25 November 2015

File extensions are necessary to open files with the right program. This article explains how to add a new file extension in the data base.

  1. Open UBIK® Studio and connect to database.
    In the Class Browser switch to the Content view.
    Add a file extension
  2. Add a SelectiveItem in Admin mode
    Now browse to {System.List} in the Class Browser and open the MetaClass SELECTIVEITEM in the Bulk Editor (via Drag & Drop).
    Add a file extension
    Add a file extension
    Every row in the Bulk Editor is shown greyed and can´t be edited, because the MetaClass SELECTIVEITEM is a system MetaClass. So we need to enable the Admin mode.
    Add a file extension
    Add a file extension
    After enabling the Admin mode you can add a new row for your file extension.
    Add a file extension
  3. Add your new file extension to the selective list
    Open the SELECTIVELIST MetaClass and connect the objects called FILETYPES with the Relation Editor to add your new file extension via drag & drop.
    Add a file extension
    Add a file extension
    Add a file extension
    IC Attention.pngPlease do not forget the save button.

Compile and release the ACM

  1. Open the compile window using F6 key.
  2. Release the ACM with the ACM Manager using F11 key.
  3. Restart your web service.