Adding custom report types
As and admin, you have an ability to modify report types that can be submitted to Whistle Willow. The default report types are directly aligned with the EU Directive on Whistleblowing. Some companies may want to add new or remove irrelevant types. It’s possible by providing a custom report types object in Program Settings → Submission Settings → Custom report types for your organization:
The text box in this page will only accept a valid JSON object which is required to map report types stored in the application backend and translated types.
Start with defining English options - ‘label’ corresponds to what users will see in their browser, and ‘value’ i hat is actually stored in the backend. The application stores all values in English, so the label and value pairs will be the same.
Then, continue for each language you wish to translate custom report types to - but only translate label. Value must stay the same - so that reports submitted in different languages but using the same type are correctly displayed. In the example below, custom statuses in Italian are added.
{
"English": {
"options": [
{
"label": "General Custom",
"value": "General Custom"
},
{
"label": "Public procurement Custom",
"value": "Public procurement Custom"
},
{
"label": "Financial issues Custom",
"value": "Financial issues Custom"
}
]
},
"Italiano": {
"options": [
{
"label": "Generale Custom",
"value": "General Custom"
},
{
"label": "Appalti pubblici Custom",
"value": "Public procurement Custom"
},
{
"label": "Problemi finanziari Custom",
"value": "Financial issues Custom"
}
]
}
}
Only languages supported by Whistle Willow are allowed to be added to this object - the list includes:
English
Dansk
Deutsch
Polska
Čeština
Magyar
Italiano
Español
Norsk
Slovenščina
Suomi
Svenska
The language names must be spelled like above, or the custom translations for a misspelled language won’t work.
If no language is provided in the object, it shows English values when user switches to this language.
Feel free to reach out to Whistle Willow support, they can help you create a valid object for your custom types and get it up and running in no time!