You need to sign in to do that
Don't have an account?
Max Friel.ax1251
Bulk Api and carriage returns...
Here is my code...
System.out.println("temp:" + temp); ByteArrayInputStream bs = new ByteArrayInputStream(temp.getBytes()); try { ret.add(bc.createBatchFromStream(job, bs)); } catch (AsyncApiException e) { Log.mess("REST", "getBatchInfoFromCSV threw Exception:" + e.toString()); throw e; }
which produces this output:
temp:Id,Value,MasterLabel,Category "101J0000000CwTJIA0","Your Veeva password is due to expire. Please log into Veeva Online then go to: Your name (top right) > Setup > My Personal Information > Change My Password. If you have any difficulties, please call the Lilly IT Service Desk. Do not reply to this email - the mailbox is not monitored.","LILLY_PASSWORD_RESET_BODY","lilly" "101J0000000CwTMIA0","Veeva Password Expiration Notice","LILLY_PASSWORD_RESET_SUBJECT","lilly"
But when I check the label in the environment it looks like this...
Your Veeva password is due to expire. Please log into Veeva Online then go to: Your name (top right) > Setup > My Personal Information > Change My Password. If you have any difficulties, please call the Lilly IT Service Desk. Do not reply to this email - the mailbox is not monitored.
How can I keep the carriage returns in it? What am I missing here?
Sorry and bc is a BulkConnection that was passed into the function.