## Using local parameters in a library component

When working with a library component, sometimes you may find the predefined parameters in the catalog cannot meet your requirements. In this case, you can create some local parameters and use them in the library component to get the desired data. Then when you save the library component, the local parameters will be saved along with it as its resources.

Local parameters are library component level resources, which means they are only available to the library component for which they are created.

To create a local parameter:

1. Do one of the following:
   - In the Resource View panel of the main window, click <Add Parameter…> in the Local Parameters node.
   - Right-click a data component in the library component and select Format Filter from the shortcut menu. In the Edit Filter dialog, click next to the value text field, then in the Values dialog, click <Add Parameter…> in the Local Parameters node.

   The Create Parameter dialog appears. See the dialog.

2. Create the parameter according to your requirement.
3. Click OK to create the parameter and exist the dialog.

Once a local parameter is created, you can then use it to dynamically filter data of a data component in the library component, add it to a parameter control or parameter form control in the library component, or reference it in a dynamic record level pass one formula used in the library component.

For any local parameter, you can further modify it if needed. To do this, right-click the parameter and select Edit from the shortcut menu. Then in the Edit Parameter dialog, edit the parameter as required. You can also change its name by right-clicking it and selecting Rename from the shortcut menu.

For local parameters that are no longer required, you can remove them. To delete a parameter, right-click it and click Delete on the shortcut menu. Local parameters that have been used in the library component cannot be deleted.