📈
Valtimo Portal (obsolete)
  • Valtimo Portal documentation
  • Portal libraries (front-end)
  • Adding custom translations
  • Override views
  • Public tasks
  • GZAC
    • Connecting with Open Zaak
    • Connecting with the Objects Api
      • Tasks in the Objects Api
  • Form.io related
    • Adding custom form.io components
    • Form.io customClass
    • Missing form.io icons
Powered by GitBook
On this page

Was this helpful?

Override views

Some views in the application can be overridden with your own component.

PreviousAdding custom translationsNextPublic tasks

Last updated 3 years ago

Was this helpful?

Sometimes the components used by the application do not fit your needs. Some of these can be overridden by providing a Component in the environment file.

In this example I would like to override the component showing the details of a case:

In this case, I add the key viewOverrides to my environment file and provide SpinnerComponent (imported from @valtimo-portal/nl-material) under the key caseDetails.

The result looks like this:

In place of the previous details component, a spinner is now displayed. If you want to know which views can be currently overridden, please use type suggestions under the viewOverrides key in the environment.