+ Start a Discussion

How can i store XML files in Salesforce using apex class

Hi ,All


I would like to find out if there is a way to save XML files in some global repository within the Salesforce instance. I am not referring to uploading a XML file attachment for an Account. i dnt want to directly upload in xml sheet..
Instead of creating an using a custom object, I just want to store simple look up data in a XML file. using apex class only ..

I am creating a custom object like Books , fields in three like name,publisher,cost....


how to do , please help me..


Hi palli


if I you must have the custom object, than I would save it as an attachment to the object record On creation.


if not, you can create a Document instance and use that.