You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var JSZip = require("jszip");
var zip = new JSZip();
var xml = '<?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://soap.sforce.com/2006/04/metadata"><version>38.0</version></Package>';
var data = new Buffer(xml, "utf8");
zip.file("unpackaged/package.xml", data);
let zipFile = Buffer.from(zip.generate({type: "arraybuffer"}));
console.log(zipFile.toString("base64"));
The text was updated successfully, but these errors were encountered:
It can currently be done in the API explorer using:
Type: SOAP
API: Metadata
Body:
I created the zip in Node.js using:
The text was updated successfully, but these errors were encountered: