Can I hide custom view buttons when the filter result is empty in Navigator?

I want to indicate that the logged-in party cannot see any contracts of a given type by hiding the custom view button.

The main UI components are start polling the contracts upon display, so the component that shows the buttons would need to poll all the corresponding contract sets to custom views to determine that the user sees any. Not sure if you want it to work like that, but it’s possible by modifying the Navigator.

If you just want to hide the options from some users and in a fairly static way, it’s simpler to provide different frontend configs, or generate them by some wrapper.

We really recommend you using the JavaScript Client Libraries, if you want to provide a customized UI for your application, even for demonstration purposes.

1 Like

Thank you!

1 Like