In transfering a blob from SF to NS File Cabinet (...
# general
a
In transfering a blob from SF to NS File Cabinet (in order to then attach it to a NS Case record), I am receiving an err:
Copy code
org.xml.sax.SAXException: _pdf is not a legal value for {urn:<http://types.filecabinet_2020_2.documents.webservices.netsuite.com|types.filecabinet_2020_2.documents.webservices.netsuite.com>}MediaType
Copy code
org.xml.sax.SAXException: pdf is not a legal value for {urn:<http://types.filecabinet_2020_2.documents.webservices.netsuite.com|types.filecabinet_2020_2.documents.webservices.netsuite.com>}MediaType
What am I missing here?
b
a
Thank you. I ended up removing that mapping and the files came into File Cabinet as binary files. I assume if I get the correct media type entered it should come in as the designated media types (e.g. _PNG)