Adding a Discovery gadget to a customized user interface
A Discovery gadget enables users to view limited information about selected cases that they do not have Read authority to access. You can include the section rule for a Discovery gadget in any section of your user interface, such as in the layout of a customized search gadget, or above a list control that is populated by a report definition.
- In Dev Studio, open the Application Explorer.
- Navigate to and open the user interface that you want to add the Discovery gadget to.
- Click , and drag the section into the section where you want to add the Discovery gadget.
- If you are adding the Discovery gadget to a list control, complete the following
steps.
- In the Section field, enter
pxDiscoverableItems. The pxDiscoverableItems section is defined in the @baseclass class so you can include this section in any section.
The pxDiscoverableItems section shows only records that have the condition NotReadAndDiscover .
- Click the View properties icon to configure the input parameters.
- On the Parameters tab, select the source of the discoverable
instances.
- Report Definition – Specify the Applies To class and the name of the report definition rule. When a report definition is the source, the columns in the report are replaced with the columns that you specify in the pyDefaultDiscoverableReport report definition rule. When the report runs, the corresponding results are displayed. The report definition name overwrites the default column source in the pyDefaultDiscoverableReport report definition rule.
- Virtual RD Page – Enter the name of the virtual report definition page. When a virtual report definition page is the source, the columns in the report are replaced with the columns from the pyDefaultDiscoverableReport report definition rule to display discoverable instances.
- Property Reference – Specify the property reference. When a property reference is the source, the columns in the report are replaced with the columns from pyDefaultDiscoverableReport to display discoverable instances.
- Select the Show discoverable items count check box.
- Click Submit.
- In the Section field, enter
pxDiscoverableItems.
- If you are adding the Discovery gadget to a search gadget, complete the following
steps.
- In the Section field, enter
pxDiscoverableSearchItems. The pxDiscoverableSearchItems section is defined in the @baseclass class, so you can include this section in any section.
- Click the View properties icon to configure the input parameters.
- On the Parameters tab, select the source of the discoverable
instances.
- Report Definition – Specify the following information:
- In the Applies To field, enter Work-.
- In the RD name field, enter pyWorkSearch.
- Virtual RD Page – Enter the name of the virtual report definition page.
- Property Reference – Specify the property reference that you want to use to store the virtual report definition page name.
- Report Definition – Specify the following information:
- For the Search String, Case Type List, Include Attachments, Type Of Work, and Updated On fields, refer to the clipboard page that is used as the source for the values to enter.
- Click Submit and save your changes.
- Optional: If All Of or One Of attributes are
used in the policy conditions, you must add all the properties that are used as column
sources in the Custom Search Properties.
- In Dev Studio, click .
- For the All work index type, click Re-index.
- Select the Only Classes listed below radio button, and specify the work classes to reindex.
- Click OK.
- Click Submit.
- In the navigation panel, click .
- Click Create.
- Enter a short description and a class name, and click Create and open.
- Click the Gear icon for the property.
- In the Selected Properties section of the Property Configurations dialog box, select properties to add.
- Click Submit.
- Expand the property list, and select the properties to include in search.
- Click Save.
- In the Section field, enter
pxDiscoverableSearchItems.
- Save your changes.
Previous topic Enabling discovery features for access control policies Next topic Enabling attribute-based access control