All Organizations (Tree)

Provance.View.AllOrganizations (View)

Element properties:

TargetProvance.Class.Organization
TypeProvance.ViewType.TreeViewType
AccessibilityInternal
VisibleTrue

Source Code:

<View ID="Provance.View.AllOrganizations" Accessibility="Internal" Enabled="true" Target="ProvanceCommon!Provance.Class.Organization" TypeID="ProvanceCommon!Provance.ViewType.TreeViewType" Visible="true">
<Category>Administration</Category>
<Data>
<Sources>
<RootSources>
<RootSource EntityType="Provance.Asset.BusinessObjects.Organization">
<Assembly>Provance.Repository.ServiceManager</Assembly>
<Repository>Provance.Repository.ServiceManager.OrganizationRepository</Repository>
<Method>GetRootOrganizations</Method>
<Sorting>
<SortOrder>Ascending</SortOrder>
<SortProperty>DisplayName</SortProperty>
</Sorting>
</RootSource>
</RootSources>
<ChildSources>
<ChildSource EntityType="Provance.Asset.BusinessObjects.Organization" RootEntityType="Provance.Asset.BusinessObjects.Organization">
<Assembly>Provance.Repository.ServiceManager</Assembly>
<Repository>Provance.Repository.ServiceManager.OrganizationRepository</Repository>
<Method>GetContainedOrganizations</Method>
<Sorting>
<SortOrder>Ascending</SortOrder>
<SortProperty>DisplayName</SortProperty>
</Sorting>
</ChildSource>
</ChildSources>
</Sources>
</Data>
<Presentation>
<TreeViewSettings>
<EntityTypesDefinition>
<EntityTypes xmlns="clr-namespace:Provance.Common.UI;assembly=Provance.Common.UI" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<EntityType Name="Provance.Asset.BusinessObjects.Organization">
<EntityType.Icons>
<Icons MappingProperty="Type">
<Icons.Default>
<Icon MappingPropertyValue="OrganizationType.Default" Assembly="Provance.Asset.UI" ResourceFileName="Provance.Asset.UI.Properties.Resources" ResourceName="AmpOrganizationDefault16x16"/>
</Icons.Default>
<!--<Icon Id="OrganizationType.Area" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Branch" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.BusinessUnit" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Department" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Division" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.District" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Sector" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Subdivision" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Region" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />
<Icon Id="OrganizationType.Ward" ImageAssembly="Provance.ServiceManager.Itam.Presentation" ResourceName="Provance.ServiceManager.Itam.Presentation.Properties.Resources" ImageName="Domain_department" />-->
</Icons>
</EntityType.Icons>
</EntityType>
</EntityTypes>
</EntityTypesDefinition>
</TreeViewSettings>
</Presentation>
</View>