|
2021년 1월부터 기존 파일 형식을 더 이상 사용할 수 없습니다. 기존 파일을 전환하거나 PDF를 다운로드할 수 있습니다. 자세히 알아보기

Column to Array

답변함
0

댓글

댓글 4개

  • Wade Hays

    There are a few ways to handle this, but I prefer Handlebars. It works great!

    Just convert your data to JSON (JSON - CSV to JSON), pass it to a Handlebars command (depending on whether you want file or text output), and use a template like this:

    [{{#each cell_data}}"{{this.data}}"{{#unless @last}},{{/unless}}{{/each}}]

    Wade
    --
    Wade Hays - Tower Turn

    0
  • Chad Weber

    Thanks Wade

    I'll give this a try 

    0
  • Wade Hays

    Chad,

    I wanted to thank you for asking this question. It was the final push I needed to write a blog post I'd been planning for a while! It covers Handlebars techniques in Workiva Chains, with practical examples for this exact scenario and more. I hope the community finds it useful: https://towerturn.com/blog/power-of-handlebars-in-workiva-chains

    Wade
    --
    Wade Hays - https://towerturn.com/services/dedicated-expert

    0
  • Chad Weber

    Thanks Wade, I've incorporated your handle solution in my chain and it works :)

    Nice blog post! I've learned a couple of new things there too, thanks.

    0

댓글을 남기려면 로그인하세요.