Creating components
Use the component customization tool to create customized components that you can add to the user interface. For example, you can either create your own customized preview card, or you can create actions that you make available in the More Actions menu on the preview card. You can also create customized full properties windows and advanced visualization components.
Before you begin
Create and install a customized module that contains the
code to implement the component. You can use sample custom modules
that are provided in the JUnit test junit_round_rock_ear sample
data. For information about configuring the
JUnit test sample data, see the related links.
- Define a custom module through a Dojo script that is in a JavaScript file.
- Configure a web file server to serve the JavaScript file by following the instructions in Configuring a web file server. Note the path location. In the Configuring a web file server section, the path location is referred to as project_directory. The Configuring a web file server in a platform environment topic gives an example that uses the JUnit test junit_round_rock_ear sample data.
- In a browser, verify that you can access the JavaScript file.
Procedure
Results
- After you click OK in the Create Custom Component window, the name of the new component is listed in the appropriate component type submenu under Configure Components.
- If the component type is one of the following, the custom component is automatically added to
the user interface:
- Alert Configuration
- Analytics Plug-in
- Notification Pane
- Profile Management
- Video Plug-in