function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
amber9904amber9904 

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?
Thanks,
Amber

MandyKoolMandyKool

Hi,

 

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).

 

 

 

_Prasu__Prasu_

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