1 Reply Latest reply: Jan 9, 2013 5:20 AM by HamidHelal RSS

    how to read the menu items?

    user2040934
      Dear all,

      I have a menu with multiple items, I want to read all of the items one by one, is it possible?
      Find_Menu_Item('Preferences.AutoCommit'); 
      this builtin find the menu id by its name.

      I want to search the menu items in a specific menu module.


      Regards:
        • 1. Re: how to read the menu items?
          HamidHelal
          user2040934 wrote:
          Dear all,

          I have a menu with multiple items, I want to read all of the items one by one, is it possible?
          Yes it's possible if you store the menu name in a table in your database. You can store them by making group. like at master_block is menu module and detail_block is menu items name.
          Find_Menu_Item('Preferences.AutoCommit'); 
          this builtin find the menu id by its name.
          may write cursor and then read it by looping using the find_menu_item builtin and do your needs.

          Hope this helps

          Hamid