Dokončené žádosti o službu
ServiceManager.ServiceRequest.Library.View.Completed (View)
Element properties:
Source Code:
<View ID="ServiceManager.ServiceRequest.Library.View.Completed" Target="CoreService!System.WorkItem.ServiceRequest" Enabled="true" TypeID="SMConsole!GridViewType" 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" xmlns:s="clr-namespace:System;assembly=mscorlib" DataTypeName="" AdapterName="viewframework://Adapters/AdvancedList" FullUpdateAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" DataSource="mom:ManagementGroup" IsRecurring="true" RecurrenceFrequency="{x:Static s:Int32.MaxValue}" FullUpdateFrequency="1" Streaming="true">
<AdvancedListSupportClass.Parameters>
<QueryParameter Parameter="TypeProjectionId" Value="$MPElement[Name='System.WorkItem.ServiceRequestViewProjection']$"/>
</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>
<SimpleExpression>
<ValueExpressionLeft>
<Property>$Context/Property[Type='CoreService!System.WorkItem.ServiceRequest']/Status$</Property>
</ValueExpressionLeft>
<Operator>Equal</Operator>
<ValueExpressionRight>
<Value>$MPElement[Name="CoreService!ServiceRequestStatusEnum.Completed"]$</Value>
</ValueExpressionRight>
</SimpleExpression>
</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:s="clr-namespace:System;assembly=mscorlib" xmlns:datebinding="clr-namespace:Microsoft.EnterpriseManagement.UI.Extensions;assembly=Microsoft.EnterpriseManagement.UI.Extensions">
<mux:Column Name="id" DisplayMemberBinding="{Binding Path=Id, Mode=OneWay}" Width="100" 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="aDisplayName" DisplayMemberBinding="{Binding Path=AssignedTo.DisplayName, Mode=OneWay}" Width="200" DisplayName="Header_Owner" Property="AssignedTo.DisplayName" 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="pDisplayName" DisplayMemberBinding="{Binding Path=Priority.DisplayName, Mode=OneWay}" Width="100" DisplayName="Header_Priority" Property="Priority.DisplayName" DataType="s:String"/>
</mux:ColumnCollection>
</Columns>
<ViewStrings>
<ViewString ID="Header_Id">$MPElement[Name="ServiceManager.ServiceRequest.Library.StringResource.View.Completed.Header_Id"]$</ViewString>
<ViewString ID="Header_Title">$MPElement[Name="ServiceManager.ServiceRequest.Library.StringResource.View.Completed.Header_Title"]$</ViewString>
<ViewString ID="Header_Owner">$MPElement[Name="ServiceManager.ServiceRequest.Library.StringResource.View.Completed.Header_Owner"]$</ViewString>
<ViewString ID="Header_Status">$MPElement[Name="ServiceManager.ServiceRequest.Library.StringResource.View.Completed.Header_Status"]$</ViewString>
<ViewString ID="Header_Priority">$MPElement[Name="ServiceManager.ServiceRequest.Library.StringResource.View.Completed.Header_Priority"]$</ViewString>
</ViewStrings>
</Presentation>
</View>