CRM 2011–Custom Application Version Info
In scenarios where there are parallel development going on for single CRM Organization in UAT and Production, many time it would be confusing to know which version is currently deployed on UAT and Production environment, so I thought of creating small WebResource based utility which can be used to update and show Version Info about currently deployed solution on Target environment.
Like CRM version info, this also shows up in Jewel Ribbon (as shown in following Screenshot)
Clicking on “Custom App Version Info” will show up window with Version Information in it
Information shown in Pop-up window in dynamically read from XML based Web Resource.
|
<root> <Title> <!–Give single line not more than 50 characters–> <LanguageCodeid=“1033“>OpsMF Version Number 1.12.09.06</LanguageCode> <LanguageCodeid=“1043“>OpsMF Version Number 1.12.09.06</LanguageCode> </Title> <Description> <!–`Give para not more than 350 characters–> <LanguageCodeid=“1033“>Learn about extensions to the core SDK that offer additional capabilities and a different developer experience. Currently there are two: Developer Extensions and the Portal Development Toolkit. Developer Extensions are essentially a wrapper around the existing SDK assemblies, providing you with extra functionality on top of existing functionality. </LanguageCode> <LanguageCodeid=“1043“>OpsMF release targeted for US Subsidiaries</LanguageCode> </Description> </root> |
Here is how to do it.
- Import unmanaged solution available here ShowAppVersion_1_0_0_0_ForShipping.zip
- Export a Solution with Application Ribbon in it.
- Extract customization.xml file from exported .zip solution.
- Find RibbonDiffXml element in customization.xml file
- Paste following XML string under <CustomActions> tag
|
<CustomActions> <CustomActionId=“Mscrm.Jewel.Help.Version.CustomAction“Location=“Mscrm.Jewel.Help.Menu._children“> <CommandUIDefinition> <MenuSectionId=“Mscrm.Jewel.Help.Section.1000“Sequence=“500“DisplayMode=“Menu16“> <ControlsId=“Mscrm.Jewel.Help.Section.1000.Controls“> <ButtonId=“Mscrm.Jewel.Help.VersionNumber“Sequence=“10“Command=“Mscrm.Jewel.Help.Version.Command“LabelText=“Custom App Version Info“ToolTipTitle=“Version Info“ToolTipDescription=“” Image16by16=“$webresource:verinfo_/IMG/PNG/versionNumber_info.png“ /> </Controls> </MenuSection> </CommandUIDefinition> </CustomAction> </CustomActions> |
- Zip solution file and import it in CRM.
For changing content of Version Info, edit versioninfo_/XML/AppVersion.xml file
General practice can be adding versioninfo_/XML/AppVersion.xml file, every time there is new export created for deployment.
Hope this utility is some way helpful to you.

