Welcome to Voyager Help

Use the Search field below or select a Category from the list at the left

Adding Custom Fields

You add custom fields in the Standard UI, but they will appear in the Portal UI as well.

NOTE: Currently Administrators must enable permission to edit fields for non-Administrators.

To add a custom field:

  • Open the file config.js in the directory {Install Dir}\app\web\ex, for example C:\voyager\server_1.9\app\web\ex
  • Look for the tagFields section (outlined in red below)
// Note: when running in Voyager, this static file is ignored and generated based on internal settings
var config = {
    "root": "https://voyagerdemo.com/",
    "explorePath": "voyager",
    "enableEmail": true,    
    "title" : "Voyager Search",
    "filterid": "default",
    "require":{
    	"fields":"api/rest/i18n/fields/standard.json",
        "filters":"api/rest/display/config/filterid.json",
        "fileFormats":"api/rest/i18n/field/format.json",
        "locations":"api/rest/i18n/field/location.json"
    },
    "rawFields": {
    	"fileExtension":true,
    	"src":true
	},
    "tagFields": [
        {field:'meta_labels',display:'Labels'}
    ]
    //"rootOverride":"http://localhost:8888/"
};
  • Add values for field: and display: for your custom field (make sure to add a terminal comma for the line above)
  • For example, you might add the field meta_marker with the display value Marker:

"tagFields": [
{field:'meta_labels',display:'Labels'},
{field:'meta_marker',display:'Marker'}
]
  • Save config.js
  • You will need to restart Voyager to incorporate your changes.
Web Design and Web Development by Buildable