We would like to add a custom (not built-in) button like this:
We have already customized which built-in toolbars/buttons are visible. See viewtopic.php?f=36&t=30822 Now we would like to add a button that is not built-in.
What have we tried?
1. We looked at the JavaScript API, but the Viewer's JavaScript API does not include app.addToolbarButton.
2. We looked at Customize Toolbar > Toolbars > New, and added a new Toolbar, but were not able to add a custom button to this toolbar.
3. We looked at Customize Toolbar > Commands > New..., but the New... button is disabled.
How can we add a custom button to the toolbar?
Add a custom button with custom behavior to a toolbar.
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 20
- Joined: Tue Apr 17, 2018 12:13 am
Add a custom button with custom behavior to a toolbar.
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Add a custom button with custom behavior to a toolbar.
Hello Shaun Luttin,
The Viewer UI can not be customized via the SDK, and custom buttons can not be added.
If that UI is inside some other frame inside your project - you can add the extra buttons to your UI, and when clicked those could call and execute commands in the Viewer AX as needed.
Regards,
Stefan
The Viewer UI can not be customized via the SDK, and custom buttons can not be added.
If that UI is inside some other frame inside your project - you can add the extra buttons to your UI, and when clicked those could call and execute commands in the Viewer AX as needed.
Regards,
Stefan