報告動作會在 Configuration Manager 主控台中顯示 Configuration Manager 報告。
下列屬性和元素專屬於開啟報表方塊的動作:
元素屬性設定為 [報表]。
ClassActionDescriptionelement
ReportName屬性是ReportDescription要顯示之報表的 GUID。 GUID 會對SMS_Report應至類別ReportGUID屬性。
注意事項
載入報表的另一個方法是使用可執行檔動作來啟動報表的 URL。 這會在新視窗中顯示報表,而不是在 Configuration Manager 主控台中。
範例報表動作 XML
下列 XML 示範如何在 Configuration Manager 主控台中顯示由其 GUID 所識別的報表:
<ActionDescription Class="Report" DisplayName="Test Action (report)" MnemonicDisplayName="Mnemonic" Description="Description"> <ShowOn> <string>DefaultContextualTab</string> <!-- RIBBON --> <string>ContextMenu</string> <!-- Context Menu --> </ShowOn>
<ReportDescription ReportName="05874720-1D08-4CF7-B182-5F9D065BEAE5">
</ReportDescription>
</ActionDescription>
另請參閱
Configuration Manager 動作如何建立 Configuration Manager 動作如何尋找 Configuration Manager 節點 GUID如何尋找 Configuration Manager 節點 GUID