Task Based UI @ Siebel 7.8 | Next Tip »Home

How To Disable Applet Menu Item

OkAvarageGoodVery GoodExcellent (4 votes, average: 3.50 out of 5)
Loading ... Loading ...

This Article has been submitted by Sai Kiran Anand a reader of my Blog. This is nice tip can be helpful.

Requirement:

Enable the Copy Record option in menu items, at the same time should Remove New Record from Menu items.

Solution:

If the requirement was to disable both Copy Record and New Record then we could have checked No insert = True but here we wanted Copy to remain enabled and New Record to get disabled. Sai Kiran pointed out a rather simple method to achieve the same thing.

  • Go to Applet > Applet method menu item
  • Create a New Record 
  • Enter the following values in the field
    Command: New Record (SWE)
    Menu Text: New Record
    Position: 1
    Suppressed menu item: True

It will remove the New Record option from menu items and Copy Record is also enabled. By this way, we can disable all the unnecessary menu items :)

I have not tried this personally, so just a word of caution New Record might still be available through keyboard shortcut. In case if you want to disable it completely then add the following lines in the BC Pre Invoke

if (MethodName == "NewRecord")
   return(CancelOperation);

  • Share/Bookmark

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: Read 387 articles by neel
blog comments powered by Disqus

Polls

Do you like the new Comment System and new look to Site?

View Results

Loading ... Loading ...