Demo学习:XAF左侧菜单程序

XCRM的菜单呈现

  • 如图所示
    • 修改位置

如图所示

Demo学习:XAF左侧菜单程序_第1张图片

修改位置

Model.DesignedDiffs.xafml中:
Demo学习:XAF左侧菜单程序_第2张图片
对应的xml代码

 	<NavigationItems GenerateRelatedReportsGroup="True" RelatedViewVariantsGroupCaption="Views" GenerateRelatedViewVariantsGroup="True" StartupNavigationItem="CRMLead_ListView">
		<Items IsNewNode="True">
			<Item Id="Workplace" Caption="Workplace" Index="0" ImageName="Navigation_Item_Dashboard" IsNewNode="True">
				<Items IsNewNode="True">
					<Item Id="Calendar" Caption="Calendar" ViewId="CRMActivity_ListView" Index="0" IsNewNode="True" />
					<DashboardNavigationItem Id="Sales Overview" Caption="Sales Overview" DashboardTitle="Sales Overview" IsNewNode="True"/>
					<DashboardNavigationItem Id="Global Sales" Caption="Global Sales" DashboardTitle="Global Sales" IsNewNode="True"/>
				Items>
			Item>
			<Item Id="Sales" Index="1" ChildItemsDisplayStyle="List" ImageName="BO_Sale_Item" IsNewNode="True">
				<Items IsNewNode="True">
					<Item Id="CRMLead_ListView" Index="0" Caption="Leads" ViewId="CRMLead_ListView" IsNewNode="True" />
					<Item Id="CRMOpportunity_ListView" Index="1" Caption="Opportunities" ViewId="CRMOpportunity_ListView" IsNewNode="True" />
					<Item Id="CRMAccount_ListView" Index="2" Caption="Accounts" ViewId="CRMAccount_ListView" IsNewNode="True" />
					<Item Id="CRMContact_ListView" Index="3" Caption="Contacts" ViewId="CRMContact_ListView" IsNewNode="True" />
					<Item Id="CRMProduct_ListView" Index="4" Caption="Products" ViewId="CRMProduct_ListView" IsNewNode="True" />					
					<Item Id="CRMQuote_ListView" Index="5" Caption="Quotes" ViewId="CRMQuote_ListView" IsNewNode="True" />
					<Item Id="CRMOrder_ListView" Index="6" Caption="Orders" ViewId="CRMOrder_ListView" IsNewNode="True" />
					<Item Id="CRMInvoice_ListView" Index="7" Caption="Invoices" ViewId="CRMInvoice_ListView" IsNewNode="True" />
				Items>
			Item>
			<Item Id="Administration" Caption="Administration" Index="2" ImageName="Action_Security_ChangePassword" IsNewNode="True">
				<Items IsNewNode="True">
					<Item Id="User" Caption="Users" ViewId="MyAppUser_ListView" Index="0" IsNewNode="True" />
					<Item Id="Role" Caption="Roles" ViewId="PersistentRole_ListView" Index="1" IsNewNode="True" />
					<Item Id="MyDetails" Caption="My Details" ViewId="MyAppUser_DetailView" ImageName="BO_MyDetails" ObjectKey="@CurrentUserID" Index="2" IsNewNode="True" />
				Items>
			Item>
			<Item Id="Default" IsNewNode="True" Removed="True" />
			<Item Id="KPI" ImageName="Action_Refresh_KPI" IsNewNode="True" />
			<Item Id="Reports" ImageName="BO_Report" IsNewNode="True">
				<Items IsNewNode="True">
					<Item Id="@eb30fb17-9397-4505-8e14-79a31b6bd565" ViewId="CRMInvoice_ListView_Analysis" Caption="Analytics" IsNewNode="True" />
				Items>
			Item>
		Items>
	NavigationItems>

你可能感兴趣的:(core,eXpressApp,Framework,学习笔记)