Configuration Manager グループのアクション

Configuration Manager では、グループ アクションによって、関連するアクション用のメニュー グループ (サブメニューとも呼ばれます) が作成されます。

次の属性と要素は、コンテキスト メニュー項目のグループを作成するアクションに固有です。

  • < ActionDescription > 要素の Class 属性がグループに設定されている。

  • < DisplayName > 属性は、コンテキスト メニューに表示されるグループ名です。

  • < GroupAsRegion > ブール属性は、このグループを領域としてリボン バーに表示するかどうかを指定します。

  • < ActionGroups >要素は、コンテキスト メニュー グループに表示されるアクション (<ActionDescription>要素) のリストです。

グループ アクション XML

次の XML に、"新しいグループ名" という名前の一連のアクションを示します。

<ActionDescription Class="Group" GroupAsRegion="true" DisplayName="New Group Name" MnemonicDisplayName="MnemonicNewGroupName" Description="NewGroupNameDescription">  <ShowOn>      <string>DefaultContextualTab</string> <!-- RIBBON -->     <string>ContextMenu</string> <!-- Context Menu -->   </ShowOn>       <ActionGroups>
    <ActionDescription Class="Executable" DisplayName="Test Action (execute)" MnemonicDisplayName="A test item" Description="A test item Description">          <ShowOn>          <string>DefaultContextualTab</string> <!-- RIBBON -->         <string>ContextMenu</string> <!-- Context Menu -->      </ShowOn>         <Executable>
      <FilePath>https://go.microsoft.com/fwlink/?LinkId=67307</FilePath>
    </Executable>
    </ActionDescription>
    <ActionDescription Class="Report" DisplayName="Test Action (report)" MnemonicDisplayName="Mnemonic" Description="Description">
    <ShowOn>         <string>DefaultContextualTab</string> <!-- RIBBON -->        <string>ContextMenu</string> <!-- Context Menu -->      </ShowOn>            <ReportDescription Id="05874720-1D08-4CF7-B182-5F9D065BEAE5">
      </ReportDescription>
    </ActionDescription>
  </ActionGroups>
</ActionDescription>

関連項目

Configuration Manager コンソール アクションについてConfiguration Manager アクションを作成する方法Configuration Manager ノード GUID を見つける方法