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
stephenystepheny 

Read XML or Property File as static Resouce

stephenystepheny

Hi Expert,

Is it possible to attach a XML file or Property File as static Resouce and read it from Apex code?

rasmiforcerasmiforce
I am also trying to work on this.
But could not resolve it.
I want to upload a xml document in static resources or my document and refer this in my apex class.
And want to create a custom object with the data in xml document.
I am able to take xml doc as a string and parse it.
But i want to get a xml document.
Can anyone help me out.
 
 
Thanks in advance,
Rasmi
Wipro