# How to add a file extension in UBIK
## Open UBIK Studio and connect to database<br/>Open UBIK Studio and connect to the data base. In the Class Browser switch to the Content view.<br/>[[File:Add_a_file_extension_01.png|330 px|border|alt=Add a file extension|Add a file extension]]
## Add a SelectiveItem in Admin mode<br/>Now browse to {System.List} in the Class Browser and open the MetaClass SELECTIVEITEM in the Bulk Editor (via Drag & Drop).<br/>[[File:Add_a_file_extension_02.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_03.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>Every row in the Bulk Editor is shown greyed and can´t be edited, because the Me-taClass SELECTIVEITEM is a system MetaClass. So we need to enable the Admin mode. Therefore, click with the right mouse button on your login name in the sta-tus bar. <br/>[[File:Add_a_file_extension_04.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_05.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>After enabling the Admin mode you can add a new row for your file extension.<br/>[[File:Add_a_file_extension_06.png|330 px|border|alt=Add a file extension|Add a file extension]] ## Add your new file extension to the selective list <br/>Open the SELECTIVELIST MetaClass and connect the objects called FILETYPES with the Relation Editor to add your new file extension via drag & drop. <br/>[[File:Add_a_file_extension_07.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_08.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_09.png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>{{Attention|Please do not forget the save button.}} ## Compile and release the ACM <br/>After that it is necessary to compile and release the ACM.2.4.1 ### Compile using F6 key <br/>Click on the buttons as shown in the picture below and restart UBIK Studio. 2<br/>[[File:Add_a_file_extension_10.4png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_11.2 png|330 px|border|alt=Add a file extension|Add a file extension]] ### Release the ACM using F11 key <br/>Click on the buttons as shown in the picture below and restart your web service. 2<br/>[[File:Add_a_file_extension_12.4png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_13.3 png|330 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:Add_a_file_extension_14.png|330 px|border|alt=Add a file extension|Add a file extension]]### 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|330 px|border|alt=Add a file extension|Add a file extension]]