cancel
Showing results for 
Search instead for 
Did you mean: 

how to add a submenu under AP

Former Member
0 Kudos

how to add a submenu under AP with C#?

such as PR.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check this example availble in the following folder

C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\CSharp\05.AddingMenuItems

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dear,

1. Make a xml file and put the following code into that


  <?xml version="1.0" encoding="UTF-16" ?> 
- <Application>
- <Menus>
- <action type="add">
  <Menu Checked="0" Enabled="1" FatherUID="2304" Position="0" String="Sub Menu Sample" Type="1" UniqueID="mnu_Sample" /> 
  </action>
  </Menus>
  </Application>

Load this xml file.This will add menu "Sub Menu Sample" under the AP.

Hope this will help you.

Regards,

Mahendra