If have added button abc in appointment booking. This button is only visible when number of booking is greater than 3
If have added button abc in appointment booking. This button is only visible when number of booking is greater than 3
Hi,
There's an OOB enableRule called SelectionCountRule that could fulfill that need without coding only if it's okay for the user to manually select the records. In other words, the ribbon will be visible if at least 3 records are selected.
If you want the ribbon to auto count that without user interaction, you can use retrieveMultiple in the enable JS function to get execute the view query and then check on the returned length and based on it, show or hide the ribbon. Not the best in terms of performance so try as much as you can to optimize the query to get only what's needed.
No, button is only visible when there are more than 3 booking is present in the view
Hi,
Do you mean that the added button should be visible when the selected number of booking is greater than 3 in the view, Otherwise the button should be hidden?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156