My question is pretty simple, can I put a picture box in a MS Ribbon Customization (VSTO add-in). I can tell that it's not a readily available option from the designer, but can it be done from the XML? I haven't found an examples that do it.
The end goal is to have an image run out to the right of the controls in the ribbon, which would quickly allow someone walking behind a series of users see "which team they were on"/"program version" they were using.
Related
I created a "splitButton" for Office Ribbon. I can see only two options for the button size, "normal" and "large". Is there any way to further increase the size of the splitbutton (i.e more than "large"). I looked at this link http://msdn.microsoft.com/en-us/library/dd950671(v=office.12).aspx but it was of no help.
Presently I am using the follwing code:
<splitButton id="Button" size="large">
Does anybody know how to further increase the size of this button ( or atleast it's width ).
Thanks.
As far as I know you cannot. Office ribbon interface doesn't allow much customization. I guess this is due to the unified look across different solutions. A similar question was answered here: RibbonButton classes -- can they be extended?
I have created custom ribbon control in both the 2007 and 2010. i have added few features in 2010. i wanna use these new features in 2007 also. so for merging these i have used custom ui editor tool. and i have saved this as well. when i opened up this new to the 2007 all my new controls showed up correctly. but when i open it in the 2010, the controls showed correctly without the icon images. for example, control is "Picture" then nearby this control one small image will be there. this small icon images not showing up in the 2010 version. did i do anything wrong ? please anyone help me for showing it correctly !
Make sure you have added the icons as well to that version's xml. The pictures name must match the xml.
Click Insert and then Icons..., browse and select the pictures you want to use as button images.
You can have different sets of pictures for 2007/2010, but better to only use 2007 UI part if both versions are to be the same.
I've created a web part page which contains visio drawing in sharepoint site. Now I want to show shape data when the mouse hover on specific shapes, instead of clicking "Toggle the visibility of shape information pane".
e.g. When mouse hovers at one employee image, more detailed information which is included in "Shape Data" can pop up, showing "Name:XXX, ID:XXX, Age:XXX..."
I've tried to add "Comment" in "shape sheet", but the hover over effect only works in Visio Design Mode. It does not work after I integrated the drawing in sharepoint webpart.
Also, I tried another approach by saving visio drawing as htm webpage. However, the data will not be dynamically updated in that way.
How could I achieve this function? Do I need to use javascript? If so, how could I integrate javascript to the webpage I already created with visio drawing?
This will walk you through the process.
Creating an Office Plan ECMAScript Mashup Drawing in Visio 2010 to Display in SharePoint Server 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.
[Possible Duplicate]
Disable Ribbon Button
But I came with question, as I'm this question not answered and I'm looking for available server side solution.
I wonder if there is a way to disable button or many buttons from Ribbon toolbar from server side?
Using Ribbon.TrimById Method (String) you can locate Ribbon, RibbonButton or RibbonGroup to hide.
Complete sample to hide Ribbon buttons sharepoint 2010 programmatically.
I think you will want to look into the HideCustomAction option of the Feature Framework. http://msdn.microsoft.com/en-us/library/ms414790.aspx
It has the ability to hide some aspects of the default UI elements in the product and the documentation does talk about the Ribbon so it may do what you want.