• Creator
    Topic
  • #3884
    ToddM
    Participant

    I am trying to remove the Archive menu item from the Actions menu in the main browser menu by using the following code:

    Groupwise.RemoveMenuItem(“GW.CLIENT.WINDOW.BROWSERActionsArchive”)

    This does not seem to do anything. I am executing the script in a On Startup event. I do not get any errors generated.

    Any advice on how to get this to work would be greatly appreciated.

  • Author
    Replies
  • #6501
    Support 1a
    Participant

    The following code works for on GroupWise 6.01 and Formativ 1.5:

    Sub Main(Client, GWEvent)

    Groupwise.RemoveMenuItem("GW.CLIENT.WINDOW.BROWSERActionsArchive")

    End Sub

    Because you are removing a menu item from the main GroupWise toolbar, the removal does not take place until the next time you start GroupWise. This is due to the design of GroupWise. Try restarting your client and try again.

    If you continue to experience a problem, please advise the versions of GroupWise and Formativ you are using.

    Advansys Support

    #6499
    ToddM
    Participant

    I am using Groupwise 5.5 and Formativ 1.0. Is there anyway to remove menu items using these versions? I could potentially upgrade to Formativ 1.5, but Groupwise 6 is 6 months away.

    #6497
    Support 1a
    Participant

    The menu removal feature has not changed between Formativ 1.0.x and 1.5. Some GroupWise menu items cannot be removed using this facility, so it is possible that the archive menu falls into this category under GroupWise 5.5. Are you able to remove another menu item from the Actions menu?

    In any case, I’ll try this here using 5.5 EP and Formativ 1.0.x

    Advansys Support

    #6498
    Support 1a
    Participant

    I was able to remove the Archive menu from the main GroupWise actions menu using Formativ Admin 1.0.3.3 and GroupWise 5.5 EP using the sample code shown earlier in the thread. I ran the applet manually, then restarted the GroupWise client in order have the menu dissapear.

    I would suggest you try installing the latest version of Formativ Admin 1.0.3.3 and trying again. I will email you a link to the file directly.

    Advansys Support

    #6502
    ToddM
    Participant

    Thanks for the information. I installed the new version, but I can not remove Archive from the Actions Menu. However, I have successfully removed a different menu item. Do you know of any reason why I can’t remove this item, while you can?

    #6500
    ToddM
    Participant

    I managed to complete my project using EnableCommand and DisableCommand. I never did get the RemoveMenuItem to work.

    Thanks for your assistance.

    #6496
    Support 1a
    Participant

    Thanks for the update, and congratulations on completing the project. We’ll be in contact directly regarding the RemoveMenu issue.

    Advansys Support

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.