You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Updating Menu field programmatically

Received Response
31
Views
3
Comments
edited Jun 8, 2022 12:06PM in General Technical Discussions 3 comments

Content

Hi Users,

I often view posts where people are stuck trying to update a Menu field programmatically. So here is a code base which covers all the possible methods of updating a Menu type field.

This covers updating Menu field using Connect PHP Framework, CWSS and C#.
 
I have considered following fields for example:
 
Standard Object: Incident
 
Standard field name: Status
Standard field menu items: Solved, Unresolved, Updated, Waiting
 
Custom field name: Test_Menu
Custom field menu items: Item_1, Item_2, Item_3
 
Custom Menu Only Object Name: test_menu_only_co
Package name: CO
Custom Menu Only Object Items: Item_1, Item_2, Item_3

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!