Custom menu like Action Button

Dotaz Custom menu like Action Button

  • 2. června 2009 9:47
     
     

    Hi every body,
    Im trying to create a custom menu into CRM that look like the action button menu into the email activity,
    can some one has an example of haw to do it

    thanks for Help,

Všechny reakce

  • 2. června 2009 10:15
     
     
    Hi Balhato

    You would find this much easier to do this via the ISV.Config file.

    If you fire up the CRM SDK, go to the search tab and type "Menu Element (ISV.Config)" you will find an example that you can just copy and paste into your ISV.Config file when you have exported it. You will need to turn on the ISV functions in the system setup as well.

    If you do the above you can then use the code example provided by Chinmay to remove those menu items that are not valid at this point in time.

    Steve
  • 2. června 2009 10:37
     
     
    Thakns lemonje,
    but the content of the menu is dynamic, actually i want to show a list of phone number of a customer in the custom menu so i must retrieve the list of phone number and add it to the menu, and when he clik on the phone number there is an action to do.
  • 2. června 2009 10:41
     
     
    I don't know how to create menus at run-time, but you could solve this problem if you knew the maximum number of phone numbers involved.

    say it was 6 numbers, you could use the code provided to remove the entries that were not needed and also the same code could be used to change the display name at the same time.

    Is not as elegent as creating dynamic menus, but you could have this working within the hour!

    Good luck

    Steve