## Creating a library component

There are two ways to create a library component: as a new library component or save a data component in a web report as a library component.

### Creating as a new component

To create a new library component:

1. Click File > New > Library Component on the menu bar to display the New Library Component dialog. See the dialog.

2. Input a title for the component in the Library Component Title text box and select a type for the component in the component type box.
3. Follow the wizard to create the library component with the first data component in it. For the usage of the wizard, refer to Creating report tabs in a page report.
4. Insert other components, such as charts, crosstabs, tables, geographic maps, labels, web controls and so on into the library component if needed. For details, see the corresponding topics about the specific component in the Components chapter.
5. If required, equip the library component with a configuration panel, which can be used to specify parameter values when there are parameters used in the library component, to filter or sort on the library component, or to change properties of the library component.

### Creating by saving a data component in a web report

The data components, including tables, charts, crosstabs, and geographic maps in a web report can be saved as a library component, provided that all the objects in the data components can be supported by library components.

To save a data component in a web report as a library component:

1. Open the web report which contains the data component you want to save as a library component.
2. Right-click the data component and select Save as Library Component from the shortcut menu.
3. In the Save As dialog, specify the name for the library component in the File Name text box.
4. The library component file type (*.lc) is the only default value in the Files of Type drop-down list.
5. Click Save. The Library Component Setting dialog appears. See the dialog.

6. Specify the title, author and the author's e-mail address in the Title text box, Author text box and Author Email text box respectively.
7. Click OK to save the selected data component as a library component with the specified name and title.

Note: The resources, components, properties and options that are not supported by library components are not enabled on the user interface.