none
ADF V2 - how to append date ("yyyymmdd")) to filename dynamically similar to ADF V1{year}{month}{day}

    Question

  • ADF V2 - how to append date ("yyyymmdd")) to filename dynamically similar to ADF V1{year}{month}{day}
    Monday, May 7, 2018 11:09 PM

All replies

  • Hi shrivam,

    You can use V2 System Variables and Expressions to achieve that. Below are the 2 useful links for you.

    https://docs.microsoft.com/en-us/azure/data-factory/control-flow-system-variables#trigger-scope

    https://docs.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions#date-functions

    Regards,

    Gary

    Tuesday, May 8, 2018 3:23 AM
  • Where are you creating/copying this file?

    If you are doing a binary copy of a file (e.g. from one blob store to another) then there is no way to amend the filename 'in flight'.  The only workaround I have found for this is to create a custom .Net component.

    HTH

    Tuesday, May 8, 2018 8:22 AM