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

Create File error: 'duplicate file name'

답변함
0

댓글

댓글 2개

  • 공식 댓글
    Tony Scalese

    Hi Lina,

    You've got two different things going on here.  First, Wdata requires that a file name is unique.  To account for this, you can build the Chain to unimport and delete the file before importing the new file.  We have a Template that shows how this is done:

    https://support.workiva.com/hc/en-us/articles/360058919852-Update-Datasets-in-a-Table-chain-template

    The second problem is that the Runtime Variable Chain.RunDateTime returns a date time stamp in ISO format including a colon for the hours & minutes separator.  Since a colon is an invalid character in a file name, you need to use Variable Transformation to modify the file name to be compliant:

    https://support.workiva.com/hc/en-us/articles/360035643752-Transform-variables-and-outputs

    I would strongly recommend that you familiarize yourself with the Chain Template though because failure to delete the file will cause duplicate data if you are loading an updated dataset for essentially the same data.

    Hope that helps.

    Tony

  • Lina Zhao

    Thank you very much Tony for pointing me in the right direction! I will definitely get familiar with the update-datasets chain as I can see bad consequences down the road happening without setting this properly...

    Lina 

    0

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