ManufacturingKnowledge

Configure panels and views

Add a custom tabular view

Procedure

  1. Navigate to TC_ROOT\aws2\stage\ and open a DOS command prompt.

  2. Navigate to the stage directory and run the initenv script.The initenv script configures the environment variables needed for Active Workspace development.

  3. Run the npm run generateModule script.

  4. At the Enter type to generate prompt, type workinstrView, and at the View name prompt, type a unique name for the custom view.For example, type ewiView.

  5. At the View mode prompt, type Table.

  6. At the Column config preference name prompt, type EWI_MyViewTableColumnShown. EWI_MyViewTableColumnShown is the preference you use to configure table columns.

  7. At the Property name prompt, type ewi0activities. The ewi0activities property contains the objects list that displays in the table.

  8. At the Type name prompt, type CfgActivityLine.The CfgActivityLine creates the objects that are displayed in the list.

  9. Run the npm run generateModule script again.

  10. At the Enter type to generate prompt type kit, and at the Kit name prompt, type a unique name for your kit.For example, type mykit.

  11. At the command prompt, run the awbuild script to build and publish changes.

  12. In the Teamcenter rich client, add a new preference named EWI_MyViewTableColumnShown. The EWI_MyViewTableColumnShown preference defines which columns (object properties) are displayed in the table.

  13. Add the EWI_MyViewTableColumnsShown preference to the AWC_StartupPreferences preference. Note You must add custom Teamcenter preferences to the AWC_StartupPreferences preference. Active Workspace does not load custom Teamcenter preferences that are not in the AWC_StartupPreferences preference.

  14. Add the unique view name to the rightPanelTabs pane in the EWI_ThreePanelLayout preference. For example, add ewiView to the rightPanelTabs in the EWI_ThreePanelLayout preference.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.EWI_DeploymentGuide/xid1136724 · retrieved 2026-07-11