You need to sign in to do that
Don't have an account?
Shri Raj
renderAs as XML Attachment in Salesforce. And Zip the Attachment.
Just like we generate a PDF File using Apex/VF, Can we render Data in an XML format from a Page or anywhere else? And also, Can we Zip the attachment? The reason is, Thats how we are supposed to email the attachment to a particular address. Therefore,
1. Render data in an XML Attachment
2. Zip the attachment
3. Email the attachment. (I know we can do this)
Please guide
Thanks
Shri
1. Render data in an XML Attachment
2. Zip the attachment
3. Email the attachment. (I know we can do this)
Please guide
Thanks
Shri
For tex/xml you can see this link http://it.toolbox.com/blogs/anything-worth-doing/a-better-way-to-generate-xml-on-salesforce-using-visualforce-55433
And 4) we can downlaod the attachment in our system.
IF it helps you than please mark it as a solution and ENJOY APEX
All Answers
You can do below things
1) Render data in an XML by contentType=text/xml.
2) You can not make zip in apex.
3) Yes you can email with attachment.
Thanks for the reply. Do you have any examples of how to use VF and pass ContentType = text/XML?
I forgot to include another question in that list.
4) Can we download attachments and schedule it ? If this is possible, I think through DOS we can Zip the files which is sufficient. So that the external team can access a Shared Folder rather than a email.
For tex/xml you can see this link http://it.toolbox.com/blogs/anything-worth-doing/a-better-way-to-generate-xml-on-salesforce-using-visualforce-55433
And 4) we can downlaod the attachment in our system.
IF it helps you than please mark it as a solution and ENJOY APEX