As users navigate through folders, they will want to find reports and view them. You must add an interface to contents.jsp that can accommodate those actions.
In this tutorial, if reports are available to display within a folder, a list of the report names will be rendered to the user. A second ItemsGrid
component, placed below the first ItemsGrid
component on the page, can be used for that purpose. When users click on a report item in the grid, they will be redirected to another page, view.jsp, where the report is rendered for viewing.
ItemsGrid
component onto the bottom of the page in the visual designer.In this step, you are prompted to specify the item source used in the ItemsGrid
component.
The EnterpriseItems
bean represents the collection of reports to be displayed in the grid. You must create a new EnterpriseItems
bean and bind it to the ItemsGrid
component.
You are prompted to choose an Identity
bean. The EnterpriseItems
bean has an identity
property that must be initialized to an Identity
bean that supplies the Enterprise session and user credentials.
identity
, from the list.CrystalEnterprise.Report
.This step ensures that only Crystal reports are displayed in the grid.
This step adds the component to the visual designer, where you can select it and configure attributes in the Properties view.
id
attribute to reportsList
.Business Objects http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ |