Using build: spribbon_80d4bf45aad8
Bug: Cant add ribbon changes to the list forms. Can add then to all forms when using listforms.all. (e.g. listforms.editform does not work)
Sollution:
File: RibbonCustomAction.cs
Method:
private string GetRibbonLocationByListForms(ListForms whichForms)
{
switch (whichForms)
{
case ListForms.ListView:
case ListForms.NewForm:
case ListForms.EditForm:
case ListForms.DisplayForm:
return "CommandUI.Ribbon<ADDED-->.<--ADDED>" + whichForms.ToString();
case ListForms.All:
return "CommandUI.Ribbon";
default:
throw new Exception("Impossible list forms value.");
}
}
After adding the "." the function works properly,
Regards,
M.v.Steenis