Назначенные мне
System.WorkItem.Incident.AssignedToMeSLAInfo.View (View)
Element properties:
Source Code:
<View Target="CoreIncident!System.WorkItem.Incident" Enabled="true" TypeID="SMConsole!GridViewType" ID="System.WorkItem.Incident.AssignedToMeSLAInfo.View" Accessibility="Public">
<Category>NotUsed</Category>
<Data>
<Adapters>
<Adapter AdapterName="dataportal:EnterpriseManagementObjectProjectionAdapter">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectProjectionAdapter</AdapterType>
</Adapter>
<Adapter AdapterName="viewframework://Adapters/AdvancedList">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.ViewFramework</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.ViewFramework.AdvancedListSupportAdapter</AdapterType>
</Adapter>
<Adapter AdapterName="omsdk://Adapters/Criteria">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.SdkCriteriaAdapter</AdapterType>
</Adapter>
</Adapters>
<ItemsSource>
<AdvancedListSupportClass xmlns="clr-namespace:Microsoft.EnterpriseManagement.UI.ViewFramework;assembly=Microsoft.EnterpriseManagement.UI.ViewFramework" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" DataTypeName="" AdapterName="viewframework://Adapters/AdvancedList" FullUpdateAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" RemoveItemsAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" AppendItemsAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" UpdateItemsAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" DataSource="mom:ManagementGroup" IsRecurring="True" RecurrenceFrequency="30000" FullUpdateFrequency="100" Streaming="true">
<AdvancedListSupportClass.Parameters>
<QueryParameter Parameter="TypeProjectionId" Value="$MPElement[Name='System.WorkItem.Incident.View.SLAProjectionType']$"/>
</AdvancedListSupportClass.Parameters>
</AdvancedListSupportClass>
</ItemsSource>
<Criteria>
<QueryCriteria xmlns="http://tempuri.org/Criteria.xsd" Adapter="omsdk://Adapters/Criteria">
<Criteria>
<FreeformCriteria>
<Freeform>
<Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
<Expression>
<In>
<GenericProperty Path="$Context/Path[Relationship='WorkItem!System.WorkItemAssignedToUser' SeedRole='Source']$">Id</GenericProperty>
<Values>
<Token>[me]</Token>
<Token>[mygroups]</Token>
</Values>
</In>
</Expression>
</Criteria>
</Freeform>
</FreeformCriteria>
</Criteria>
</QueryCriteria>
</Criteria>
</Data>
<Presentation>
<Columns>
<mux:ColumnCollection xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mux="http://schemas.microsoft.com/SystemCenter/Common/UI/Views/GridView" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:slaBinding="clr-namespace:Microsoft.EnterpriseManagement.ServiceManager.SLA.Common;assembly=Microsoft.EnterpriseManagement.ServiceManager.SLA.Common">
<mux:Column Name="image" Width="25" DataType="s:String" Property="Status.DisplayName">
<mux:Column.CellTemplate>
<DataTemplate>
<Grid>
<Image xmlns:toolbox="clr-namespace:Microsoft.EnterpriseManagement.UI.WpfToolbox;assembly=Microsoft.EnterpriseManagement.UI.FormsInfra" Width="12" Height="12" VerticalAlignment="Center" HorizontalAlignment="Center" RenderOptions.BitmapScalingMode="NearestNeighbor">
<Image.Source>
<Binding Path="SLAInstances" Mode="OneWay" Converter="{x:Static slaBinding:SLAStatusImageConverter.Default}"/>
</Image.Source>
<Image.ToolTip>
<Binding Path="SLAInstances" Mode="OneWay" Converter="{x:Static slaBinding:SLAStatusTooTipConverter.Default}"/>
</Image.ToolTip>
<Image.Visibility>
<Binding RelativeSource="{x:Static RelativeSource.Self}" Path="Source" Mode="OneWay">
<Binding.FallbackValue>Visible</Binding.FallbackValue>
<Binding.Converter>
<toolbox:MappedValueConverter>
<toolbox:Mapping>
<toolbox:Mapping.From>
<x:Null/>
</toolbox:Mapping.From>
<toolbox:Mapping.To>
<s:String>Collapsed</s:String>
</toolbox:Mapping.To>
</toolbox:Mapping>
</toolbox:MappedValueConverter>
</Binding.Converter>
</Binding>
</Image.Visibility>
</Image>
</Grid>
</DataTemplate>
</mux:Column.CellTemplate>
</mux:Column>
<mux:Column Name="id" DisplayMemberBinding="{Binding Path=Id, Mode=OneWay}" Width="150" DisplayName="Header_Id" Property="Id$ReturnValueAsBigInt$" DataType="s:String"/>
<mux:Column Name="title" DisplayMemberBinding="{Binding Path=Title, Mode=OneWay}" Width="200" DisplayName="Header_Title" Property="Title" DataType="s:String"/>
<mux:Column Name="sDisplayName" DisplayMemberBinding="{Binding Path=Status.DisplayName, Mode=OneWay}" Width="100" DisplayName="Header_Status" Property="Status.DisplayName" DataType="s:String"/>
<mux:Column Name="priority" DisplayMemberBinding="{Binding Path=Priority, Mode=OneWay}" Width="100" DisplayName="Header_Priority" Property="Priority" DataType="s:Int32"/>
<mux:Column Name="targetTime" Width="150" DisplayName="Header_Target_End_Date" Property="Status.DisplayName" DataType="s:DateTime">
<mux:Column.CellTemplate>
<DataTemplate>
<TextBlock Text="{slaBinding:SLATargetEndDateBinding Path=SLAInstances, Mode=OneWay}" VerticalAlignment="Center" TextWrapping="NoWrap" AutomationProperties.Name="{Binding Id, Mode=OneWay}">
<TextBlock.ToolTip>
<Binding Path="SLAInstances" Mode="OneWay" Converter="{x:Static slaBinding:SLAStatusTooTipConverter.Default}"/>
</TextBlock.ToolTip>
</TextBlock>
</DataTemplate>
</mux:Column.CellTemplate>
</mux:Column>
<mux:Column Name="tDisplayName" DisplayMemberBinding="{Binding Path=TierQueue.DisplayName, Mode=OneWay}" Width="150" DisplayName="Header_Support_Group" Property="TierQueue.DisplayName" DataType="s:String"/>
<mux:Column Name="lastModified" DisplayMemberBinding="{Binding Path=$LastModified$, Mode=OneWay}" Width="150" DisplayName="Header_Last_Modified" Property="$LastModified$" DataType="s:DateTime"/>
</mux:ColumnCollection>
</Columns>
<AdditonalProperties>
<AdditionalProperty>SLAInstances.Status</AdditionalProperty>
<AdditionalProperty>SLAInstances.IsCancelled</AdditionalProperty>
<AdditionalProperty>SLAInstances.TargetEndDate</AdditionalProperty>
<AdditionalProperty>SLAInstances.SLAConfiguration.DisplayName</AdditionalProperty>
</AdditonalProperties>
<ViewStrings>
<ViewString ID="Header_Id">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Id"]$</ViewString>
<ViewString ID="Header_Title">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Title"]$</ViewString>
<ViewString ID="Header_Status">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Status"]$</ViewString>
<ViewString ID="Header_Priority">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Priority"]$</ViewString>
<ViewString ID="Header_Target_End_Date">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Target_End_Date"]$</ViewString>
<ViewString ID="Header_Support_Group">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Support_Group"]$</ViewString>
<ViewString ID="Header_Last_Modified">$MPElement[Name="System.WorkItem.Incident.AssignedToMeSLAInfo.View.Header_Last_Modified"]$</ViewString>
</ViewStrings>
</Presentation>
</View>