Console Extension Ribbon integration

Hi,

Background:
Squadra Technologies has developed a SCCM Console Extension for auditing and controlling "file writes" to removable storage devices (USB drives, smart-phones, tablets, external hard drives, SD-Cards, CD/DVD) over USB (i.e. plug-and-play devices).

Issue:
Our console extension is working great except for interacting with the SCCM main menu (i.e. the ribbon at the top of the SCCM console).  When the user is interacting with our console screens, the ribbon bar shows the actions provided by the console extension but there is no graphic that shows up.

The documentation (https://msdn.microsoft.com/en-us/library/hh948553.aspx) didn't give me the answer and I tried to look at what other console extension authors are doing but everyone seems to be using the same graphics that Microsoft is providing in the AdminUI.UIResources.dll.  We are trying to use our own graphics so that the graphic on the ribbon bar matches the icon in the context menu (i.e. when you right mouse click on the node).

Below is the XML for our console extension.

My hunch is that our assembly does not have a graphic that meets the sizing requirements/formats (ex: 64x64 PNG or BMP) but I cannot find any documentation that tells you what you need to provide.  Using the XML below, I think what I need guidance on is what format should the two "ImageResourceName" values ("secRMM" and "excel") be in the assembly?  Currently, they are in the assembly as ico (icon) and this works in the context menu.

Thank you for reading this.  Any advice or links to documentation would be greatly appreciated.

<RootNodeDescription NamespaceGuid="{89058982-EAF6-4FA5-91F4-645B76156E30}" 
                     Id="RemovableMedia" 
                     DisplayName="RemovableMediaPolicies" 
                     Description="ManageRemovableMediaPolicies">
  <SecurityConfiguration>
    <ClassPermissions>
      <!--<ActionSecurityDescription ClassObject="SMS_Collection" RequiredPermissions="1" />-->
    </ClassPermissions>
  </SecurityConfiguration>
  <ResourceAssembly>
    <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
    <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
  </ResourceAssembly>
  <ImagesDescription>
    <ResourceAssembly>
      <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
      <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
    </ResourceAssembly>
    <ImageResourceName>secRMM</ImageResourceName>
  </ImagesDescription>
  <ViewAssemblyDescriptions>
    <ViewAssemblyDescription>
      <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
      <Type>secRMMSCCM2012ConsoleExtension.secRMMSCCM2012ConsoleExtensionViewDescriptions</Type>
    </ViewAssemblyDescription>
  </ViewAssemblyDescriptions>
  <Actions>
    <ActionDescription Class="Group"
                       GroupAsRegion="true"
                       DisplayName="Removable Media Policy"
                       MnemonicDisplayName="Removable Media Policy"
                       Description="Removable Media Policy">
      <ShowOn>
        <string>DefaultContextualTab</string>
        <string>ContextMenu</string>
        <string>DefaultHomeTab</string>
      </ShowOn>
      <ActionGroups>
        <ActionDescription Class="AssemblyType"
                           SelectionMode="Both" 
                           DisplayName="Create Removable Media Policy"
                           MnemonicDisplayName="Create Removable Media Policy"
                           Description="Create Removable Media Policy"
                           RibbonDisplayType="TextAndSmallImage">
          <ShowOn>
            <string>DefaultContextualTab</string>
            <string>ContextMenu</string>
            <string>DefaultHomeTab</string>
          </ShowOn>
          <ActionAssembly>
            <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
            <Type>secRMMSCCM2012ConsoleExtension.secRMMSCCM2012ConsoleExtensionViewDescriptions</Type>
            <Method>RightClickRemovableMediaNodeCreateNewPolicy</Method>
          </ActionAssembly>
          <ResourceAssembly>
            <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
            <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
          </ResourceAssembly>
          <ImagesDescription>
            <ResourceAssembly>
              <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
              <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
            </ResourceAssembly>
            <ImageResourceName>secRMM</ImageResourceName>
          </ImagesDescription>
        </ActionDescription>
      
        <ActionDescription Class="AssemblyType"
                           SelectionMode="Both" 
                           DisplayName="View Status Messages in Excel"
                           MnemonicDisplayName="View Status Messages in Excel"
                           Description="View Status Messages in Excel"
                           RibbonDisplayType="TextAndSmallImage">
          <ShowOn>
            <string>DefaultContextualTab</string>
            <string>ContextMenu</string>
            <string>DefaultHomeTab</string>
          </ShowOn>
          <ActionAssembly>
            <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
            <Type>secRMMSCCM2012ConsoleExtension.secRMMSCCM2012ConsoleExtensionViewDescriptions</Type>
            <Method>RightClickViewStatusMessagesInExcel</Method>
          </ActionAssembly>
          <ResourceAssembly>
            <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
            <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
          </ResourceAssembly>
          <ImagesDescription>
            <ResourceAssembly>
              <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
              <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
            </ResourceAssembly>
            <ImageResourceName>excel</ImageResourceName>
          </ImagesDescription>
        </ActionDescription>
      </ActionGroups>
      <ResourceAssembly>
        <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
        <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
      </ResourceAssembly>
      <ImagesDescription>
        <ResourceAssembly>
          <Assembly>secRMMSCCM2012ConsoleExtension.dll</Assembly>
          <Type>secRMMSCCM2012ConsoleExtension.Properties.Resources.resources</Type>
        </ResourceAssembly>
        <ImageResourceName>secRMM</ImageResourceName>
      </ImagesDescription>
    </ActionDescription>
  </Actions>
</RootNodeDescription>
August 26th, 2015 7:04pm

Don't know much about this tool but this PDF doc from their website might be able to help.

http://www.squadratechnologies.com/StaticContent/ProductDownload/secRMM/7.0.0.0/secRMMSCCM.pdf

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 10:58am

Hi Kanojia,

Sorry, perhaps I was not very clear in my post...I am the guy who wrote/developed the console extension. :-)

I am looking for advice on developing/coding SCCM console extensions.

Thanks anyways though!

August 27th, 2015 11:15am

Hi Kanojia,

No worries...yep, have already been to both links but cannot get past the issue.  Thanks again though!

August 27th, 2015 12:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics