Skip to main content

Convert Data Table to XLSX Input Format

Comments

2 comments

  • Ken Lyon

    Brian Cunningham , I think you're along the right lines.

    The activity should accept an array of DataTable inputs or an individual DataTable.

    The designer says “object” in the input description because it's written in TypeScript and we can't reference a .NET data type there, but the documentation is correct.

    I believe the input error is because your values are not actual DataTable objects. While TypeScript will often accept something that looks like the expected type (i.e. has the same properties) .NET is stricter and needs the correct types.

    The only activity that I'm aware of that can actually create a DataTable is the Convert CSV To Data Table activity. If you're able to supply your values to that activity in CSV format, you will get out a DataTable that should then work in Convert Data Table To XLSX.

    1
  • Brian Cunningham

    Thanks Ken Lyon ,

    So, I also started trying to utilize the Run Operation activity and feed it the results.convert-to-xlsx command and parameters, but ran into some walls there too. If I can covert my objects into a featureset, should I be able to provide that featureset to that command as a parameter?

    Thanks,

    Brian

    1

Please sign in to leave a comment.