Jacob D
08/10/2022, 9:57 PMN/file, but rather using response.write) in a suitelet. Previously in SS 1.0, I could just use response.setContentType, but there doesn’t seem to be an an equivalent in SS 2.0. Does anyone know how to set the content type to XML? I’ve tried addHeader and setHeader without much luck…battk
08/10/2022, 10:19 PMbattk
08/10/2022, 10:20 PMJacob D
08/10/2022, 10:21 PMJacob D
08/10/2022, 10:25 PMcontext.response.setHeader({
name: 'Content-Type',
value: 'application/xml'
});battk
08/10/2022, 10:31 PMtext/xmlJacob D
08/10/2022, 10:34 PMtext/xml instead of application/xmlJacob D
08/10/2022, 10:35 PM