Show hidden ribbon elements - dynamics-crm-2011

In previous iterations, there were some ribbon buttons and tabs that were hidden via the HideCustomAction in the customizations.xml. Now the client is requesting that some of those elements be shown. I've exported the solution, and removed the hide custom action. The tab is still not shown even though the HideCustomAction was removed. Are there any additional steps needed to be taken to re-show the hidden elements?

The best thing would be to have the developer of the managed solution update the solution with the proper ribbon configuration. That's the supported approach.
If that isn't an option, you could look to recreate the CustomAction buttons in a solution with different IDs but the same actions. Basically creating two sets of the buttons.

Related

Hide button on tabs in Kofax KTM

Hello we are using a script in KTM to make the button on the validation form invisible. The project has several classes and depending on the class we hide the buttons.
ValidationForm.Buttons.ItemByName ("btnDBFuzzy_2"). Visible = False
Now we have to use tabs in the project. I'm looking silly, but can't find the way to control the buttons on the tabs.
Maybe someone here has an idea?
Since your button is now on a different tab, you would need to make use of the following syntax: ValidationForm.Tabs.ItemByName("Tab A"). The same applies to all other controls.

Appropriateness of use regarding ribbons and menu's in sharepoint 2010

So with the new Ribbon on top of the SharePoint 2010 page we have an office like feel to working with SharePoint pages. Customization of this ribbon is great, adding your own functionality augmenting what Microsoft provides out of the box. My question is this though, when is it appropriate to use ribbon customization vs an item menu option (i.e. the callout menu on a particular item).
Are there best practices around this? What do you do?
They share a lot of the same options. The ribbon is focused on working with the entire list or library, but still has options pop up when you click on an item that are targeted at that one item. The call-out on a single item is always focused on options for just that item.
So I would say if your looking to do something with an entire list or library, put it in the ribbon. If it is going to be an option specifically tied to one item at a time, put it in the call-out menu, but also try to make it show up in the ribbon if someone doesn't look at the call-out menu.
But that's just my opinion and I haven't had any experience putting custom functionality into either sections.

How to disable or apply custom menu to GTK (PyGTK) Notebook pages?

I am trying to apply custom menu to tab pages on my notebook control. I need to be able to select certain specific action for the entire page and i figured the tab label would be the best place to start.
So, i created a EventBox, applied Label as its child, and bound event callbacks to button-pressed-event and it... works.. kindof.
What i get is two menus: one is the one I create, and on top of it - the one created by GTK Notebook. to select something from my custom menu i need to escape the notebook menu first, and i certainly don't like it.
so the question is: how do I disable gtk notebook menus? or how can i set my own, custom menu, with my own, custom callbacks? I don't want to list all the available tab pages in the menu - it's introducing too much noise, so adding menu labels to the existing menu is not really the way to go.
thanks bunches
GtkNotebook should only show the tab selector if enable-popup is true. It defaults to false, so you've probably enabled it by mistake.

Visual C++ ListBox as Preference Chooser

So I'm building a tool that allows a user to edit a whole bunch of preferences for various things. There are several groups of settings, too many to use a TabControl without creating arrow sliders to view all of the tabs, so I decided I would try and use a ListBox to list the groups of preferences, and then when they click on them, the settings that they can change show up to the right of the box.
I'm just not sure how to do this. Obviously it would invoke something in the OnSelectionChanged function of the ListBox, but I'm not sure where to go from there. Surely a dialog can have dynamic design, right? Would I mimic the creation of a tabbed-dialog where I create my designs and then bind them to the TabControl, and just do something similar for the ListBox? Again, it's not the ListBox itself that is dynamic. The user will click on "Settings A" from the ListBox, and to the right of the ListBox will be settings 1, 2, and 3 that each have textboxs/radios/checks.
Any hints on how I can accomplish this? I just think it looks nicer than having a whole bunch of tabs lined up across the top of the box. Thanks in advance to any brilliant minds who can help me out. I'm versed in C++, but I'm very much a beginner at VC++.
You can a vertical splitter with two panes:
one which contains the list
another one which contains the configuration dialogs you would normally use in a tab control
Each time the list selection changes you can load the appropriate dialog in the right pane. You can find a splitter tutorial here: http://www.codeproject.com/KB/wtl/wtl4mfc7.aspx

dijit.MenuItem values are auto-highlighted... how to stop this?

I am using Dojo 1.3.1 and have a dijit.Menu with several dijit.MenuItem items. The menu is displayed as a context menu when the user right-clicks on items that were bound to the menu using (dijit.byId("contextmenu_pf")).bindDomNode(...). All works well, but frequently when the menu is displayed, one or more of the menu items are highlighted (aside from the first one). This seems to be random and has no relationship to previously selected items. Some of the highlighted menu options are even displayed.
Has anyone seen this behavior and/or know how to stop it from happening?
Thanks - Peter
This is a known issue, filed as http://bugs.dojotoolkit.org/ticket/10339.
The attachment in that link also lists some workaround code.

Resources