Hello,
In reading http://msdn.microsoft.com/en-us/library/gg328323.aspx it says: "it is a best practice to use localized labels to define text displayed in the ribbon". The sdk says pretty much the same thing.
So as I often do when I am learning new material I go and look at how those far more knowledgeable than me do it. In this case I am looking at a Marketplace Solution. They have custom entities with some custom buttons on the entity ribbon. OK to test my new skill I am going to change the text of one of their buttons.
So in my sandbox I create an empty solution. Add one of the entities from the market place solution. Export it then extract the customizations.xml. I then open the xml in VS2012 Prem.
I see the entity in there and it is looking good. I find the ribbon diff section and getting close right...NOT. I've tried several different gyrations including putting everything in the solution and still I can't find the $LocLabels.
OK let's try this from a different angle. I took one of my entities and added a button and $LocLabels to it...and it worked and it was there in the ribbon diff???
So what am I doing wrong? Is there some slight of hand / obfuscation that one should do if they are going to publish customizations? (I'm far from that point just trying to understand)
Here is the $LocLabel value the button has:
$LocLabels:AB.xxxx_project.Group.AB.CopyMe.Label
I have replaced the publisher prefix and other indicators to sterilize.
Here is one of mine:
$LocLabels:yyz.Mscrm.DashboardTab.YYZNav.Title
(any Rush fans out there?)
One thing I noticed different between the two is their use of the AB indicator between the LocLabels and publisher prefix. Is that a reference to a plugin or similar?
I guess to further emphasize my confusion I have done a global search through all the xml files in an the solution and I can't find any part of the $LocLabel value??
Thank You for any help getting this sorted in my head.