<< Click to Display Table of Contents >> Navigation: Kit@Home > Installation et utilisation de Admin StandAlone Toolkit > Configuration > Tableau de configuration Profils > Mapping des champs |
L’administrateur pourra définir les champs qu’il désire afficher dans l’écran de saisie des métadonnées. Pour ce faire il doit créer ou modifier un des fichiers contenus dans le répertoire C:\Program Files (x86)\Netia\AdminStandAlone Toolkit\conf\fields.
Exp : fields.demo.news.config.fr.json.
[ { "Label": "Correspondant", "NodeName": "STRING_1", "DataType": "string", "Mandatory": true }, { "Label": "Titre", "NodeName": "STRING_2", "DataType": "string", "Mandatory": true }, { "Label": "Ville", "NodeName": "STRING_4", "DataType": "string", "Mandatory": true }, { "Label": "Langue", "NodeName": "ITEM_LANGUAGE", "DataType": "string", "Mandatory": true, "AutoValue": "Français", "Options": [ { "Label": "Français", "Value": "Français" }, { "Label": "Anglais", "Value": "Anglais" }, { "Label": "Espagnol", "Value": "Espagnol" } ] }, { "Label": "Type", "NodeName": "STRING_3", "DataType": "string", "Mandatory": true, "AutoValue": "Infos Internationales", "Options": [ { "Label": "Infos Internationales", "Value": "Infos Internationales" }, { "Label": "Infos Nationales", "Value": "Infos Nationales" }, { "Label": "Infos Regionales", "Value": "Infos Regionales" } ] }, { "Label": "Remarques", "NodeName": "ITEM_REMARKS", "DataType": "string", "Multiline": true }, { "Label": "PAD", "NodeName": "RTB", "AutoValue": false, "DataType": "bool" }, { "Label": "Date", "NodeName": "DATE_BEG_ITEM", "DataType": "timestamp", "AutoValue": "$CURRENT_DATE", "ReadOnly": false }, { "Label": "Durée", "NodeName": "ITEM_DURATION", "DataType": "duration", "AutoValue": "$MEDIA_DURATION", "ReadOnly": true }, { "Label": "Utilisateur", "NodeName": "USER_REC", "DataType": "string", "AutoValue": "$CURRENT_USER", "ReadOnly": true }, { "Label": "Machine", "NodeName": "STATION_REC", "DataType": "string", "AutoValue": "$CURRENT_COMPUTER", "ReadOnly": true }, { "NodeName": "TYPE1_ITEM", "DataType": "long", "AutoValue": 2, "Hidden": true }, { "NodeName": "STATE", "AutoValue": 2, "DataType": "long", "Hidden": true }, { "NodeName": "VIRTUAL", "AutoValue": 7, "DataType": "long", "Hidden": true } ] |