I had earlier written an article describing how to configure a drilldown on a form applet. Few days back a friend of mine asked a question
How to configure drilldown through menu item?
Here are the steps I tried to configure a drilldown through menu item but once again I was only able to achieve this through scripting. I hope once again like last time someone will be able to suggest a scriptless solution for this requirement too.
Requirement:
I should have an additional Menu Item with text “Go to Rep Quote” and clicking on that menu item should take me to the Quote view displaying the representative quote for that opportunity.
Solution:
Important thing in this requirement is to create and configure a Menu Item. We will use the same script I provided in my old post to take user to Quote View. Steps to configure Menu Item
- Go To Command object in Object Explorer
(If it is not visible then add it in Object Explorer) - Create a New record in Command Object and enter following details.
Name: GoToRepQuote
Display Name: Drilldown
Method: GoToRepQuote
Target: Browser Applet

- Select the Accelerator Object and create a New record with following details
Name: GoToRepQuote
Display Name: Ctrl+G
Key Sequence: Ctrl+G - Query for applet for which you would like to configure drill down
- Select Applet Menu Item Object for that applet

- Click on New Record and enter following details
Command: GoToRepQuote
Menu Text: Go To Rep Quote
Position: 2 - Go To Applet User Property Object and create a new record with following details
Name: Named Method 1: GoToRepQuote
Value: ‘INVOKE’, ‘GoToRepQuote’

- Compile your Applet and Command object
Now you just need to write the script that I had mentioned in old post in PreInvokeMethod of either BC or Applet to configure the actual drill down

