About Resource Tables

An resource table is used to reference resources used at one location. Depending on the context, you may choose to type the name of the resource or not. In the latter case, you have access to a defined number of resources (which is quite useful for the Manage Components, Instantiate Engineering Template and Instantiate Template operations.)

This page discusses:

Resource Table Items in Know-how Apps Components Operations

A resource table item can be used to reference a resource in some operations:

  • Instantiate Template

  • Instantiate Engineering Template

  • Manage Components

  • Knowledge Certify

  • Run VB and VBA Scripts

  • Open URL and Open ActiveX URL

  • Manage Catalog.

The logical name is used at build time when defining the operation, either through a user input or using the resource table editor.

Build Time: Create an Edit Resource Tables

The first step consists in storing the resource table. A new container is added to the Know-how Apps component to store the unique resource table. The storage of the resource table follows the same architecture as the one used for Know-how Apps Components types, except that no collection is managed as there is only one resource table per Know-how Apps component.

Run Time

When running an operation that needs to retrieve its input from the resource table, the key point is to retrieve the resource table it relies on, which is located in the Know-how Apps component corresponding to the current application. There is only one Know-how Apps component per application, so it can be retrieved using the Know-how Apps Components type name and the loaded Know-how Apps component.

Edit Resource Tables

The unique table of each Know-how Apps component appears in the left tree of the knowledge tab (as for Know-how Apps Components types, operations, and knowledge dialogs). The Create Resource table command is used to edit the local resource table that is unique per Know-how Apps component.