Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Updating Menu field programmatically (2 Comments)

$
0
0

Topic by Pramod Vasudeva Murthy

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
 
Note: I have left interface values blank in C# code as it varies. You need to use Service reference in-order to consume the WSDL and provide valid credentials.
 
- VIP

Version

Nov 2015

File

Menu Field.zip(13KB)

Viewing all articles
Browse latest Browse all 2504

Trending Articles