The ItemsGrid and Path controls provide listing and navigation interfaces for the items contained in an EnterpriseItems bean, such as a series of folders or categories that lead to reports and documents. There are several preItemsGrid and Path control that users can navigate to. For example, you may want your application to display the user's personal root folder after they log on, and prevent them from navigating above this top level item. Or, you may want your application to limit the user to navigate only personal categories rather than folders or other categories.
DefaultRoot property of the ItemsGrid or Path control to None. EnableDefaultParent property of the EnterpriseItems bean data bound to the control to CorporateCategory, PersonalCategory, RootFolder, UserRootCategory, or UserRootFolder. ItemTypes property of the EnterpriseItems bean is set to return the desired type. For example, if you set the EnableDefaultParent property to CorporateCategory, you must at least select Corporate Category from the list of types available from the ItemTypes property. Or, if the EnableDefaultParent property is set to one of the preItemTypes property to Folder and Favorites Folder.
If you want to set a custom top level item rather than use a preDefaultRoot property of the ItemsGrid or Path control to Custom, and specify the RootItemID property.
Tip: If you want to set the folder that is displayed initially, but you do not need to restrict the items that the user can navigate to, then you just need to set the parentItemId property of the EnterpriseItems bean.
| Business Objects http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ |