=== How to add {{UBIK}} knows a list of default [[FileTypes|file types]] and its extensions for documents. If you need an addtional extension in UBIK ===it can be added by extending the [[SELECTIVELIST|system list]] of file types. The extensions also effects which application is used to open a document on the clients.
# Open {{UBIK Studio}} and , connect to a database.<br/>In the {{Class_Browser}} and switch to the ''[[Class_Browser#Content|Content view]]''of the {{Class_Browser}}.<br/>[[File:Add_a_file_extension_01UI_HowTo_Add_a_file_extension_01.png|440px|border|alt=Add a file extensionContent view|Add a file extensionContent view]]<br/># Add a ''Browse to the [[HowTo:Create_a_new_Selective_List|SelectiveItemMetaClass]][[SELECTIVEITEM]] in the '' in Admin mode<br/>Now browse to {System.List} in the Class Browser and open the [[MetaClass]] '''SELECTIVEITEM''' in namespace and connect it with the {{Bulk_EditorBulk Editor}} (via Drag & Drop).<br/>[[File:Add_a_file_extension_02UI_HowTo_Add_a_file_extension_02.png|220 px|border|alt=Add a file extensionSELECTIVEITEM MetaClass|Add a file extensionSELECTIVEITEM MetaClass]]<br/> [[File:Add_a_file_extension_03UI_HowTo_Add_a_file_extension_03.png|660 px|border|alt=Add a file extensionList of Selective Items|Add a file extensionList of Selective Items]]<br/>Every row in the Bulk Editor is shown greyed and can´t be edited, because the # As this MetaClass SELECTIVEITEM is a system MetaClass. So we need Built-in object you have to enable the ''[[UBIK_Studio_Basics#Admin_mode|Admin mode]]''.<brto be able to add />[[File:Add_a_file_extension_04.png|660 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_05.png|220 px|border|alt=Add a file extension|Add a file extension]]<br/>After enabling modify entries# Once the Admin mode is enabled you can add a new row for your file extension.by creating a new row and setting a description, name and value<br/>[[File:Add_a_file_extension_06UI_HowTo_Add_a_file_extension_06.png|880 px|border|alt=Add Create a new Selective Item for a new file extension|Add Create a new Selective Item for a new file extension]]<!--# Add your -->{{Attention|The value of the new file item must include the extension in the format *.wmv!}}# Now you have to relate the new item to the selective list<br/>Open of known file types: first, browse to the SELECTIVELIST MetaClass [[SELECTIVELIST]] within the ''{System.List}'' namespace and connect the objects called FILETYPES list named ''FILETYPE'' with the {{Relation_EditorRelation Editor}} to add your . Second, relate the new file extension via drag & dropSelective Item to this list.<br/>[[File:Add_a_file_extension_07UI_HowTo_Add_a_file_extension_07.png|220 px|border|alt=Add a file extensionSelective List for FILETYPES|Add a file extensionSelective List for FILETYPES]]<br/> [[File:Add_a_file_extension_08UI_HowTo_Add_a_file_extension_08.png|220 px|border|alt=Add a file extensionRelated FILETYPES|Add a file extensionRelated FILETYPES]]<br/> [[File:Add_a_file_extension_09UI_HowTo_Add_a_file_extension_09.png|220 px|border|alt=Add a new file extensiontype|Add a new file extensiontype]]<br/># Save the changes with {{Attentionkey press|Please do not forget the save button.Ctrl|S}} === Compile and release or the ACM ===save command# Open the ''[[Release_data_modelHowTo:Release_MetaDefinitions|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 extensionnew MetaDefintiions]]# 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/>[[FileHowTo:Add_a_file_extension_15.pngConfigure_Microsoft_IIS_for_UBIK|660 px|border|alt=Add a file extension|Add a file extensionweb service]]
[[Category:Document|Add a new file extension]]
[[Category:How-To|Add a new file extension]]