Filter and Search for Objects in Resource Browser

The number of objects available for selection in the Resource Browser may be very large, so you can filter the content in a variety of ways, depending on context.

The context is determined by the editor, worksheet, Resource Browser tab, and selected object. In each tab, a default filter based on object type is automatically applied. In some cases, only one object type filter is applicable, in others you can choose a different object type.

You can change filters using the Resource Browser's context menu or its U-Bar. Depending on the context, you may be able to filter the Resource Browser content based on:

  • Object type of main development objects (such as projects, components, modeled entities, libraries) and selected sub-objects (fields, sub-entities, snippets, Global ProcScripts)
  • Object name and description
  • Structure of modeled entities and fields, such as child objects (fields or subtype entities) and parent objects (parent or supertype entities)
  • Relationships of modeled entities, such as One or Many entities of a specified entity.

The Resource Browser allows you browse and select objects using the mouse, enter URLs in its U-Bar, or right-click a listed object to display a context menu.

Change the Object Type Filter

To change the object type filter, you can:

Filter by Object Name or Description

You can search for objects based on characters in their name or description. This is useful when you want to locate a specific modeled entity, or a snippet in a library.

Show Fields, Sub-Entities, or Parent Entity

In the Model tab of the Component Editor and Entity Editor, you can list the fields of a selected entity or find its parent entity or sub-entities.

  • To display the fields of an entity, select a modeled entity and press Enter (or double-click) to copy the entity name into the U-Bar. By default, a field filter is added and the fields of the entity are displayed in the tab.

  • To find the parent entity or sub-entities of the current field or entity, highlight the object in the Resource Browser, right-click and choose the appropriate option under Show in Resource Browser.

    Alternatively, to find sub-objects of a modeled entity, click the entity name in the U-Bar, an choose the type of sub-object you want to list, or enter the sub-object keyword in the U-Bar.

    • /ent: list the entity's sub-types, if any.
    • /fld: list the entity's fields.

Find Related One or Many Entities

In the Component and Entity Editors, it is also possible to find related One or Many entities of a specified entity. You can do any of the following:

  • Highlight an entity in the Resource Browser, right-click and choose the appropriate option under Show in Resource Browser.

  • Click the name of an entity in a URL that is already in the Resource Browser U-Bar, and select the one: or many: keyword to add to the URL.

    • /one: list the One entities, if the entity is the Many entity in one-to-many relationships.
    • /many: list the Many entities, if the entity is the One entity in one-to-many relationships.
  • Manually enter a URL string using the one: or many: keywords to specify the relationships.

    You can continue to type and enter entity names and relationship keywords, creating quite long strings. For example:

    ent:ADDRESS.ACMECUST/many:customer.acmecust/many:orders.acmeord/one:deliverymethod.acmeord

    When you press enter, the string is shortened to most recent entity and relationship specification. For example:

    ent:customer.acmecust/many:orders.acmeord

Related Topics