Difference between revisions of "HowTo:Add a new file extension"
m |
m |
||
Line 1: | Line 1: | ||
− | {{UBIK}} knows a list of default [[FileTypes|file types]] and its extensions for documents. If you need an addtional extension it can be added by extending the [[SELECTIVELIST|system list]] of file types. The extensions also effects which application is used | + | {{UBIK}} knows a list of default [[FileTypes|file types]] and its extensions for documents. If you need an addtional extension 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}} | + | # Open {{UBIK Studio}}, connect to a database and switch to the ''[[Class_Browser#Content|Content view]]'' of the {{Class_Browser}}.<br/>[[File:UI_HowTo_Add_a_file_extension_01.png|440px|border|alt=Content view|Content view]]<br/> |
− | # | + | # Browse to the [[MetaClass]] [[SELECTIVEITEM]] in the ''{System.List}'' namespace and connect it with the {{Bulk Editor}}.<br />[[File:UI_HowTo_Add_a_file_extension_02.png|220 px|border|alt=SELECTIVEITEM MetaClass|SELECTIVEITEM MetaClass]] [[File:UI_HowTo_Add_a_file_extension_03.png|660 px|border|alt=List of Selective Items|List of Selective Items]] |
− | # | + | # As this MetaClass is a Built-in object you have to enable ''[[UBIK_Studio_Basics#Admin_mode|Admin mode]]'' to be able to add / modify entries |
+ | # Once the Admin mode is enabled you can add a new file extension by creating a new row and setting a description, name and value<br/>[[File:UI_HowTo_Add_a_file_extension_06.png|880 px|border|alt=Create a new Selective Item for a new file extension|Create a new Selective Item for a new file extension]]<!-- | ||
+ | -->{{Attention|The value of the new item must include the extension in the format *.wmv!}} | ||
+ | # Assign your new file extension to the Selective List for file types<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:UI_HowTo_Add_a_file_extension_07.png|220 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:UI_HowTo_Add_a_file_extension_08.png|220 px|border|alt=Add a file extension|Add a file extension]]<br/>[[File:UI_HowTo_Add_a_file_extension_09.png|220 px|border|alt=Add a file extension|Add a file extension]]<br/>{{Attention|Please do not forget the save button.}} | ||
# [[HowTo:Release_MetaDefinitions|Release the new MetaDefintiions]] | # [[HowTo:Release_MetaDefinitions|Release the new MetaDefintiions]] |
Revision as of 12:25, 19 February 2016
UBIK® knows a list of default file types and its extensions for documents. If you need an addtional extension it can be added by extending the system list of file types. The extensions also effects which application is used to open a document on the clients.
- Open UBIK® Studio, connect to a database and switch to the Content view of the Class Browser.
- Browse to the MetaClass SELECTIVEITEM in the {System.List} namespace and connect it with the Bulk Editor.
- As this MetaClass is a Built-in object you have to enable Admin mode to be able to add / modify entries
- Once the Admin mode is enabled you can add a new file extension by creating a new row and setting a description, name and value
- Assign your new file extension to the Selective List for file types
- Release the new MetaDefintiions
- Restart the web service