CDATA import into Smartsheet cause apostrophe problem

edited 07/22/20 in API & Developers
07/22/20 Edited 07/22/20
Answered - Pending Review

We are using an external tool from CDATA to import data into Smartsheet from MS SSIS. We have recently run into an issue where the data load inserts an apostrophe in front of the string value we are loading. We've checked the outbound flow from SSIS and the apostrophe is definitely not there, so Smartsheet is doing this. Any idea on how I can ensure this does not happen? BTW, we are actually loading a formula with this method, so the string being passed into Smartsheet is something like "=[FirstCol]1 + [SecondCol]1" and the apostrophe being added breaks the formula.

Answers

  • Hi Chris,

    Typically when Smartsheet automatically inserts an apostrophe in a cell, it's evaluating an alphanumeric value rather than just a string of text or just a number. If the first character of a number is zero followed by another digit or by a letter, Smartsheet will prepend the value with an apostrophe and store it as text. It does this so that the leading zero will be retained and displayed with the number.

    I haven't worked with CDATA specifically, but you may want to open a CDATA Support ticket (https://www.cdata.com/support/submit.aspx) to see if something can be altered on their side to ensure that the expected values populate correctly. Otherwise, if you're wanting to have the value populate as a number and be stored as a number in Smartsheet, you'll need to double-click the cell and remove the apostrophe (along with any leading zeros that may be showing).

    I hope this helps!

    Ben

Sign In or Register to comment.