Configure Ontologies for Selecting Field Types

In the process of configuring OSF entities  and , the user specify which   that will be synchronized as   into the Drupal instance. During that process, all the properties will become fields in Drupal.

By default, the  that is being used by the process is the   one. However, an important feature of OSF for Drupal is to be able to define different field type for every properties you will be synchronizing. This documentation page explains how this feature can be configured and how it will influence the input forms that users will use to define these kind of resources.

Configuring Ontologies
If you want to change the field types that will be used when you will be synchronizing the properties using OSF Entities, you have to modify the description of the properties, in the loaded ontologies, that will be synchronized.

What we have to do to configure the properties that will be mapped is to specify which field type that should be specified for a given  or   properties. In this tutorial, we will be using the OSF Ontology module. However, you can do this using Protégé or any other ontologies management tool.

However, if you are not using the OSF Ontology module, what you have to do is to use the  property to specify a new annotation to the property you want to specify. Then, the value of that  annotation should be one of the    specified above. Then you will have to save your ontology file and to re-import it into OSF using the Ontologies Management Tool or OSF Ontology.

To configure your ontology(ies), you have to go to the Ontologies section, and then to select the ontology where the property you want to update is defined. Once you selected your ontology, click the  button. Then click the  tab, and search for your property.



Once you see the description of the property you want to update, then click the  section such that all the advanced features appears. The first advanced setting is. This is the one that interest us. Then start typing the name of the field type you want to specify for this property. Once it is selected, click the button at the bottom of the page.