Customize user input form of OMERO.mde

Description

You can generate a filter view of the sets of objects. Also you can hide properties for objects and change the default unit. We will show in this section how to create a new setup and how to generate customized input forms of available objects in this setup.

Step-by-Step

  1. Open the mdeConfiguration.xml file under config/.

  2. Insert a new <SetupConf> element under <Configuration> and specify the name for the setup (here MyCustomSetup):

    <MDEObjects>
        <Configurations>
            <SetupConf Name="MyCustomSetup"/>
        </Configurations>
    </MDEObjects>
    
  3. Define now the object elements <ObjectConf> that should be enabled (OME standard objects) or visible/choosable (other). Please pay attention of the hierarchy (the parent of and object has also to be defined here). If an object is not mentioned, it is disabled and also all child objects (OME standard objects) or not visible (defined custom objects):

    <MDEObjects>
        <Configurations>
            <SetupConf Name="MyCustomSetup"
                <ObjectConf Type="OME:Image"/>
                <ObjectConf Type="OME:Objective"/>
            </SetupConf>
        </Configurations>
    </MDEObjects>
    

    For this objects also add <TagDataProp> elements for the properties where you want to change the unit or you want to hide this property.:

    <MDEObjects>
        <Configurations>
            <SetupConf Name="MyCustomSetup"
                <ObjectConf Type="OME:Image"/>
                    <TagDataProp Name ="Description" Unit ="" Visible ="false"/>
                <ObjectConf Type="OME:Objective"/>
            </SetupConf>
        </Configurations>
    </MDEObjects>
    
  4. Save the file and restart OMERO.importer to load the new configuration for OMERO.mde. Select your images or dataset for import. Switch to the OMERO.mde pane and select your setup to load your customize forms.

Setup: Universal

mde_customizeView_Universal

Setup: MyCustomSetup

mde_customizeView_Customize