+ Start a Discussion

I have XML and would like to use it create dependent picklists.

I have an XML file that includes "Products" and "Versions".  I'd like to use that file to create/update my dependent picklists on Cases.
The XML file will change (weekly) so I need to do this programatically.
Has anyone done this before?  Can someone point me in the right direction?




In order to parse your xml you can write a class and schedule it (weekly).

For parsing XML file that you have you can use XML Classes (xmlStream Reader and xmlStream Writer).

You can find more information about these classes in Apex Language Reference(Apex Documentation).





You will need to use the metadata api of Salesforce if you need to make it automated.