Manage Toolbox
Use the Manage Toolbox feature to add .NET controls to the Toolbox for use in your automations. Use this feature to customize the Toolbox to maximize efficiency and utility.
You can add components to the Toolbox and you can also add static members. Components are objects that have properties, methods, and events. When dragged from the toolbox, an instance of the component is placed on the Palette.
Static members are simply methods that can be called. They are pulled directly from the Toolbox when needed and will not be accompanied by an object on the Palette.
When creating automations, you might need to use static members or custom components that
are not currently in the Toolbox. You can add components in the following folders:
You cannot create subfolders in the User components and Static members folders. After use, these objects are displayed in the Recents folder, and you can add them to the Favorites folder.
Adding custom objects to the Toolbox
Add a custom .NET dynamic link library (DLL) or method using the Manage Toolbox window.
- Right-click on the Toolbox and select Manage
Toolbox.
Result: The Manage Toolbox window opens. Manage Toolbox - Select the source location for the custom object by adding custom objects from
one of the three following source locations:
- Installation folder: by default at C:\Program Files (x86)\Pegasystems\Pega Robot Studio v22
- Public assemblies: ..\AppData\Roaming\Pegasystems\PublicAssemblies (This folder is where to place any custom .NET DLLs that you create and want to add to the Toolbox.)
- Global assembly cache: where registered .NET DLLs are stored
- Select the tab for either Static Members or
Components.
For a given assembly, you typically have Static Members or Components, but not both.
- Select the objects that you want to add, and then click
Add.
Result: You have added the objects to the Toolbox. Note: Some objects that you see in the Manage Toolbox lists might already exist in the Toolbox. Search the Toolbox before adding custom objects to avoid unnecessary redundancy. Adding objects to the Toolbox After you add the custom objects the Toolbox, you can use them in your automations.
- Optional: To add custom objects to forms, use the same procedure as described
above.
Result: The User controls folder of the Toolbox stores custom controls added to forms. User controls on Forms
Previous topic Working in the Toolbox Next topic Working in the Palette