Select to view content in your preferred language

How can I get the click event in my add-in tab

568
1
01-03-2024 07:00 AM
AtilaBK
Emerging Contributor

I need to call an API for authentication when the user clicks on my tab to load the data and control the visibility of the buttons.

0 Kudos
1 Reply
tempStephenRhea_NV5
Frequent Contributor

I'm not aware of a "tab changed" event, but you can use other events like ApplicationReadyEvent and PortalSignOnChangedEvent, depending on when you want to call the API.

It's not possible to hide buttons on the ribbon, but you can enable/disable them based on states and conditions defined in DAML and activated in code. See the wiki for examples.

0 Kudos