Gen Window Navigation Diagram delete menu causes build error RC2104
search cancel

Gen Window Navigation Diagram delete menu causes build error RC2104

book

Article ID: 26083

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

In the Gen Toolset Window Navigation Diagram when using Edit/Menu Design to delete a menu item, the item is still present after returning to the Window. This incomplete delete can subsequently result in a build error of the form:

Error RC2104 : undefined keyword or key name: RCMD_XXXXXX_NO_COMMAND

Environment

Gen Workstation Toolset

Cause

This is a known problem which has a documented workaround but the root cause has never been found

Resolution

Workaround:

  1. In the Window Navigation Diagram, under Options disable the option "Common Edit Modifications".

  2. Set Edit/Mode to Window and using Edit/Menu Design delete the menu item. After returning to the Window the menu item is still present.

  3. Change Edit/Mode to HTML.

  4. In HTML mode, delete the menu item. If the item has been removed from the Window menu go to step 7, otherwise continue with step 5.

  5. Change Edit/Mode to ASP.NET.

  6. In ASP.NET mode, delete the menu item. The item should then be removed from the Window menu.

  7. Change Edit/Mode back to Window or HTML.

  8. The menu item deleted in steps 2 and 4 should no longer be visible.

  9. Re-enable the option "Common Edit Modifications".