Missing navigation pane button with Citrix

Greetings,

We have built a customization for GP using Dexterity, and this customization includes a new navigation pane button and associated area page.  When opening GP normally, everything shows up fine.  Now when GP is accessed via Citrix, our navigation pane button does not show up.  When the Navigation Pane Options form is opened, the button we added is not present.  Is this a known problem, or is it possible we're creating the navigation button in the wrong way?  Below is a description of how we're adding the nav bar button in Dexterity.

The following is in a procedure that is triggered to run after CreateDefaultNavBarButtons.  "Our_Navigation" is a command of type Command List.

nSeq = 0;
nStatus = AddNavBarButton("",
 nSeq,
 true,
 OUR_PRODUCT_ID,
 resourceid(form OUR_Command_Form),
 resourceid(command OUR_Navigation of form OUR_Command_Form),
 0,0,0,true) of form syNavBarBtnObj;

Thanks in advance,

Greg

  • Please share your trigger and complete code.

  • In reply to almas:

    There's not a lot more to it than what I posted originally.  Below is the trigger and the full script for creating the nav bar button.  There are other scripts for creating nav bar items and the area page, but the button isn't showing up, so I don't think these other things come into play with this issue.

    In Startup

    {

    result = Trigger_RegisterProcedure(script CreateDefaultNavBarButtons, TRIGGER_AFTER_ORIGINAL, script OUR_Base_Create_Navigation_Bar_Button);

    }

    script OUR_Base_Create_Navigation_Bar_Button

    {

    local string sWhere;
    local integer nStatus;
    local integer nSeq;

    sWhere = physicalname('CmdParentDictID' of table syNavBarButtons) + CH_SPACE + CH_EQUAL + CH_SPACE + str(OUR_PRODUCT_ID);

    { don't add the button if it's already in the menu }
    range clear table syNavBarButtons;
    range table syNavBarButtons where sWhere;
    get first table syNavBarButtons;

    if err() = OKAY then
     abort script;
    end if;

    {button not in the menu - add it}
    nSeq = 0;
    nStatus = AddNavBarButton("",
     nSeq,
     true,
     OUR_PRODUCT_ID,
     resourceid(form OUR_Command_2013),
     resourceid(command OUR_Navigation of form OUR_Command_2013),
     0,0,0,true) of form syNavBarBtnObj;

    }

Related
Recommended