function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
I have assembled XML with APEX. Want to write the XML to a file in a documents folder.
But can't find any reference on how to do this.
Any ideas?
Thx.
Folder f = [SELECT Id FROM Folder WHERE DeveloperName = 'Folder_To_Use']; // String xmlString; Document d = new Document(FolderId=f.Id,Body=Blob.valueOf(xmlString),ContentType='text/xml'); insert d;
That's the rough of it.
That's the rough of it.