1

Closed

CommandUIDefinition "Scale" attribut issue

description

I have discovered a bug in creating CommandUIDefinition. You're creating both scaling atribute MaxSize and Scale. But Scale atribute is obsolete and invalid here.

Please look for example here:
http://www.sharepointnutsandbolts.com/2010/01/adding-ribbon-items-into-existing.html

"A ‘MaxSize’ definition must be supplied to the appropriate Scaling collection (i.e. ‘Ribbon.WikiPageTab.Scaling._children’ in this case), though it seems a ‘Scale’ definition is optional (e.g. if you want different controls to be used when less space is available) [Sept 2011 – in fact, ‘Scale’ is invalid here. Specify MaxSize only.]"

That's why i wasn't able to create anything into WikiPageTab or PublishTab.

Regards,
Petr
Closed Jan 12, 2012 at 3:38 PM by omlin

comments

omlin wrote Jan 12, 2012 at 3:37 PM

Petr, I don't think "Scaling" is either obsolete or invalid. There is no such mark in corresponding MSDN article: http://msdn.microsoft.com/en-us/library/ff458426.aspx

Chris'O'Brien is not Microsoft employee, and he hardly can be considered as an authoritative information source.

About your issue, the problem was with "RegistrationType" and "RegistrationId", as it described in our discussion here: http://spribbon.codeplex.com/discussions/285889

Thus, I'm closing the issue request.