Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Can I hide custom view buttons when the filter result is empty in Navigator?Forum ↗

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

App Development3 posts257 views2 likesLast activity Sep 2021
GY
gyorgybalazsiOP
Sep 2021

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

MA
Mate_Varga
Sep 2021

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.

GY
gyorgybalazsi
Sep 2021

Thank you!

← Back to Discussions