Community
Showing results for 
Search instead for 
Do you mean 
Reply

Contacts Menu

New Member
Posts: 6
Country: United States

Contacts Menu

I am fairly new th the SDK, and I'm not sure how I could do this. I have a couple questions/problems, hopefully someone can point me in the right direction.

 

Here's the situation... We have 2 types of contacts in our database. Under the Contacts menu, instead of "New Contact" we would like 2 entries one that says "New Customer Contact" and another called "New Subcontractor Contact". Here are the problems that I'm not real sure how to do at this point... 

 

1. How do I remove the "New Contact" under the "Contacts" menu? Is this even possible?

 

2. How do I add Items to the top of the "Contacts" menu?

 

3. How do I trigger the new contact button programmically? (What is the command to give me a blank contact form) 

 

Thanks for the help.

New Member
Posts: 6
Country: United States

Re: Contacts Menu

After a little research... Here is how you can trigger Creation of a New Contact for anyone who wants it...

 

//This example creates a new blank Contact record (C#)
ActApp.UIContactManager.CreateContact();

'This example creates a new blank Contact record (VB)
ActApp.UIContactManager.CreateContact()

 

 

Still need some help with #1 and #2...

Avid Listener
Posts: 25
Country: USA

Re: Contacts Menu

 

 

2)

ParentMenu = ACTAPP.Explorer.CommandBarCollection["Connected Menus"].ControlCollection[hld];

 

ParentMenu.AddSubItem(NewMenu, Position);

 

 

1) get the link to the menu item then turn the visibility option off or replace the current handler with your own handler.