Skip to main content

Table of Contents

Adding a custom tool


Only available versions of this content are shown in the dropdown

This procedure uses the example scenario from Adding a subsection for similar tools.

  1. Right-click the handle (blue dot) of the Comment row for the section that you want to add tools to and click Add Sibling Below.

  2. Add a new page row.

    1. In the Action column, select Append and Map to.

    2. In the Target column, enter .pyRulesAndToolsList.

    3. In the Relation column, select a new page.

  3. Complete four Set rows for the top-level expandable section. In the Action column, select Set and then enter the following:

    Row Target column value Source column value
    Be sure to include the quotation marks
    1 .pyNote The tooltip text to be displayed in Access Manager; a short description of the tool function.

    For example: "Retrieve number of items in worklist."

    2 .pyPrivilege The privilege name.

    For example: "CanUseWorklistCounter"

    3 .pyClassName The privilege class name.

    For example: "@baseclass"

    4 .pyLabel The tool function name to be displayed on Access Manager.

    For example: "Worklist items counter"

  4. Save the data transform.

The preceding example creates a custom tools section with a subsection for Worklist tools, as shown in the following figure:

Custom tools section with Worklist tools subsection
The custom tools section with the worklist tools subsection

This data transform renders a section in Access Manager as shown in the following figure. (Refresh the display to see the changes.)

Access Manager section with Worklist tools subsection

In Access Manager, secure the tool. For more information, see Editing tools authorization for a single access group.
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us